zephyr/kernel/include
Peter Mitsis d8a4c8a90c kernel: Add CONFIG_IPI_OPTIMIZE
The CONFIG_IPI_OPTIMIZE configuration option allows for the flagging
and subsequent signaling of IPIs to be optimized.

It does this by making each bit in the kernel's pending_ipi field
a flag that indicates whether the corresponding CPU might need an IPI
to trigger the scheduling of a new thread on that CPU.

When a new thread is made ready, we compare that thread against each
of the threads currently executing on the other CPUs. If there is a
chance that that thread should preempt the thread on the other CPU
then we flag that an IPI is needed for that CPU. That is, a clear bit
indicates that the CPU absolutely will not need to reschedule, while a
set bit indicates that the target CPU must make that determination for
itself.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2024-06-04 22:35:54 -04:00
..
gen_offset.h arch: remove the use of z_arch_esf_t completely from internal 2024-06-04 14:02:51 -05:00
ipi.h kernel: Add CONFIG_IPI_OPTIMIZE 2024-06-04 22:35:54 -04:00
kernel_arch_interface.h arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
kernel_internal.h pm: Deprecate z_pm_save_idle_exit 2024-05-27 02:10:03 -07:00
kernel_offsets.h build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
kernel_tls.h
ksched.h coding guidelines: comply with MISRA Rule 12.1. 2024-05-12 13:37:27 -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 kernel: mmu: shrink and align struct z_page_frame 2024-05-13 16:04:40 -04:00
offsets_short.h build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02: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