mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-05 22:11:56 +00:00
Platforms that support IPIs allow them to be broadcast via the new arch_sched_broadcast_ipi() routine (replacing arch_sched_ipi()). Those that also allow IPIs to be directed to specific CPUs may use arch_sched_directed_ipi() to do so. As the kernel has the capability to track which CPUs may need an IPI (see CONFIG_IPI_OPTIMIZE), this commit updates the signalling of tracked IPIs to use the directed version if supported; otherwise they continue to use the broadcast version. Platforms that allow directed IPIs may see a significant reduction in the number of IPI related ISRs when CONFIG_IPI_OPTIMIZE is enabled and the number of CPUs increases. These platforms can be identified by the Kconfig option CONFIG_ARCH_HAS_DIRECTED_IPIS. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
default_appcpu.ld | ||
default.ld | ||
esp32-mp.c | ||
gdbstub.c | ||
Kconfig | ||
Kconfig.defconfig | ||
Kconfig.mac | ||
Kconfig.soc | ||
mcuboot.ld | ||
memory.h | ||
newlib_fix.c | ||
pinctrl_soc.h | ||
power.c | ||
poweroff.c | ||
soc_appcpu.c | ||
soc.c | ||
soc.h |