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
|
||||
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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue