Difference between revisions of "How to configure uniprocessor mode"

[unchecked revision] [quality revision]
m
m
 
Applicable for STM32MP15x lines

1 Purpose[edit]

This article explains how to switch from a SMP (symmetric multiprocessing) Linux® kernel configuration to a UP (uniprocessor) Linux kernel configuration.

2 Rationale[edit]

Considering that STMicroelectronics Linux kernel is configured in SMP mode by default, single Arm Cortex-A core users may wish to disable this configuration in order to avoid trying to start the second core at every boot. Please note that keeping the SMP mode enabled on a single processor does not have any performance impact on the kernel in most use cases, so this change is not mandatory.

3 Modify kernel configuration[edit]

To switch to UP configuration, disable SMP configuration. To do that, search SMP in kernel menuconfig and disable the option.


<noinclude>{{ApplicableFor
|MPUs list=STM32MP15x
|MPUs checklist=STM32MP13x, STM32MP15x
}}</noinclude>

==Purpose==
This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>&reg;</sup> kernel configuration to a UP (uniprocessor) Linux kernel configuration.

==Rationale==
Considering that STMicroelectronics [[STM32MP15 Linux kernel overview|Linux kernel]] is configured in SMP mode by default, single Arm Cortex-A core users may wish to disable this configuration in order to avoid trying to start the second core at every boot. Please note that keeping the SMP mode enabled on a single processor does not have any performance impact on the kernel in most use cases, so this change is not mandatory.

==Modify kernel configuration==
To switch to UP configuration, disable SMP configuration. To do that, search '''SMP''' in [[Menuconfig_or_how_to_configure_kernel|kernel menuconfig]] and disable the option.
<noinclude>

[[Category:How to customize software]]
{{PublicationRequestId | 8901 | 2018-10-05 | AnneJ}}</noinclude>
Line 1: Line 1:
{{ApplicableFor
+
<noinclude>{{ApplicableFor
 
|MPUs list=STM32MP15x
 
|MPUs list=STM32MP15x
 
|MPUs checklist=STM32MP13x, STM32MP15x
 
|MPUs checklist=STM32MP13x, STM32MP15x
}}
+
}}</noinclude>
 
==Purpose==
 
==Purpose==
 
This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>&reg;</sup> kernel configuration to a UP (uniprocessor) Linux kernel configuration.
 
This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>&reg;</sup> kernel configuration to a UP (uniprocessor) Linux kernel configuration.