diff --git a/kernel/Kconfig b/kernel/Kconfig index 4dff8b59d5d..a1d3cb0b454 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -586,33 +586,36 @@ config MAX_DOMAIN_PARTITIONS help Configure the maximum number of partitions per memory domain. +menu "SMP Options" config USE_SWITCH bool prompt "Use new-style _arch_switch instead of __swap" default n help - The _arch_switch() API is a lower level context switching - primitive than the original __swap mechanism. It is required - for an SMP-aware scheduler, or if the architecture does not - provide __swap. In uniprocess situations where the - architecture provides both, _arch_switch incurs more somewhat - overhead and may be slower. + The _arch_switch() API is a lower level context switching + primitive than the original __swap mechanism. It is required + for an SMP-aware scheduler, or if the architecture does not + provide __swap. In uniprocess situations where the + architecture provides both, _arch_switch incurs more somewhat + overhead and may be slower. config SMP bool prompt "Enable symmetric multithreading support" default n help - When true, Zephyr will be build with SMP support, allowing - more than one CPU to schedule Zephyr tasks at a time. + When true, kernel will be built with SMP support, allowing + more than one CPU to schedule Zephyr tasks at a time. config MP_NUM_CPUS int prompt "Number of CPUs/cores" default 1 help - Number of multiprocessing-capable cores available to the - multicpu API and SMP features. + Number of multiprocessing-capable cores available to the + multicpu API and SMP features. + +endmenu source "kernel/Kconfig.event_logger"