kernel: smp: group SMP options in Kconfig file
Move SMP option together and align help text. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
bb64ec2921
commit
ee9bebf7d0
1 changed files with 13 additions and 10 deletions
|
@ -586,33 +586,36 @@ config MAX_DOMAIN_PARTITIONS
|
||||||
help
|
help
|
||||||
Configure the maximum number of partitions per memory domain.
|
Configure the maximum number of partitions per memory domain.
|
||||||
|
|
||||||
|
menu "SMP Options"
|
||||||
config USE_SWITCH
|
config USE_SWITCH
|
||||||
bool
|
bool
|
||||||
prompt "Use new-style _arch_switch instead of __swap"
|
prompt "Use new-style _arch_switch instead of __swap"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
The _arch_switch() API is a lower level context switching
|
The _arch_switch() API is a lower level context switching
|
||||||
primitive than the original __swap mechanism. It is required
|
primitive than the original __swap mechanism. It is required
|
||||||
for an SMP-aware scheduler, or if the architecture does not
|
for an SMP-aware scheduler, or if the architecture does not
|
||||||
provide __swap. In uniprocess situations where the
|
provide __swap. In uniprocess situations where the
|
||||||
architecture provides both, _arch_switch incurs more somewhat
|
architecture provides both, _arch_switch incurs more somewhat
|
||||||
overhead and may be slower.
|
overhead and may be slower.
|
||||||
|
|
||||||
config SMP
|
config SMP
|
||||||
bool
|
bool
|
||||||
prompt "Enable symmetric multithreading support"
|
prompt "Enable symmetric multithreading support"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
When true, Zephyr will be build with SMP support, allowing
|
When true, kernel will be built with SMP support, allowing
|
||||||
more than one CPU to schedule Zephyr tasks at a time.
|
more than one CPU to schedule Zephyr tasks at a time.
|
||||||
|
|
||||||
config MP_NUM_CPUS
|
config MP_NUM_CPUS
|
||||||
int
|
int
|
||||||
prompt "Number of CPUs/cores"
|
prompt "Number of CPUs/cores"
|
||||||
default 1
|
default 1
|
||||||
help
|
help
|
||||||
Number of multiprocessing-capable cores available to the
|
Number of multiprocessing-capable cores available to the
|
||||||
multicpu API and SMP features.
|
multicpu API and SMP features.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
source "kernel/Kconfig.event_logger"
|
source "kernel/Kconfig.event_logger"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue