summaryrefslogtreecommitdiff
path: root/lib/libc/src/main.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-17 18:42:29 -0400
committerIan Moffett <ian@osmora.org>2025-07-17 18:42:29 -0400
commitde7ab64e895c37cadc4d4032c24013d28edb248b (patch)
tree3e5c2c236fad9fbfdf097961c0be6c7551f69893 /lib/libc/src/main.c
parent37bc0faac60d9e6ee11d09e57e360091c425922c (diff)
kernel/amd64: mp: Pin one idle thread to each coremain
Each core on the CPU gets one idle thread so that it is always up to something. To ensure these threads are not bouncing wildly between cores and are always ready for their respective processor to take when they have no threads to grab. We must call proc_pin() on each for every processor. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/src/main.c')
0 files changed, 0 insertions, 0 deletions