zephyr/kernel/include
Andy Ross 20611f13ca 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-04-25 15:12:02 +02:00
..
gen_offset.h kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
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 kernel: add options to cleanup after aborting current thread 2024-04-10 07:44:27 -04: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-04-25 15:12:02 +02:00
kswap.h kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
kthread.h kernel: move nothread support to own file 2024-04-06 14:22:08 +03:00
mmu.h kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
offsets_short.h kernel: Remove unused derived offset symbols 2023-02-22 16:01:32 +01:00
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