zephyr/kernel/include
Andy Ross fd340ebf31 sched: Optimize dummy thread usage on SMP
Nicolas Pitre points out that since these thread structs are just
dummies for the context swtiching, they can be presumed to be "write
only" and thus there's no point in having one per CPU, everyone can
share the same one.

The only gotcha is that we never really documented (nor really have a
place to document) that rule, so it's not theoretically impossible for
an architecture to read back what it might have written underneath
arch_switch().  Leave this in a separate commit for bisection
purposes, but the risk seems very low.

Signed-off-by: Andy Ross <andyross@google.com>
2024-05-02 13:55:03 -04:00
..
gen_offset.h
ipi.h kernel: split timeslicing/ipi code out of sched.c 2024-04-01 18:47:36 -04:00
kernel_arch_interface.h kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
kernel_internal.h coding guidelines: comply with MISRA Rule 20.9 2024-05-01 19:48:19 +01:00
kernel_offsets.h kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
kernel_tls.h linker: Round TLS sizes up in linker script 2024-02-25 22:28:56 -05:00
ksched.h sched: Optimize dummy thread usage on SMP 2024-05-02 13:55:03 -04:00
kswap.h kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
kthread.h coding guidelines: comply with MISRA Rule 20.9 2024-05-01 19:48:19 +01:00
mmu.h coding guidelines: comply with MISRA C:2012 Rule 11.2 2024-05-01 10:53:20 -04:00
offsets_short.h
priority_q.h kernel: priority queues: declare as static inlines 2024-04-22 16:40:11 -04:00
timeout_q.h kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
wait_q.h kernel: move priority queue handling to own file/header 2024-03-02 15:06:45 +01:00