Approved version. Approved on: 07:51, 3 February 2020
Difference between revisions of "How to configure uniprocessor mode"
[quality revision] | [quality revision] |
m
|
|
[quality revision] | [quality revision] |
m
|
|
Template:ArticleMainWriter Template:ArticleApprovedVersion
This article explains how to switch from a SMP (symmetric multiprocessing) Linux® kernel configuration to a UP (uniprocessor) Linux kernel configuration.
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.
To switch to UP configuration, disable SMP configuration. To do that, search SMP in kernel menuconfig and disable the option.
<noinclude> {{ArticleMainWriter|AlexandreT}} {{ArticleApprovedVersion| AlexandreT | GeraldB (Passed 18Sep'18) | No previous approved version | AnneJ - 21Sep'18 - 8901 | 5Oct'18 }} [[Category:How to customize software]]</noinclude> ==Purpose== This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>®</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: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== |
==Purpose== |
||
This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>®</sup> kernel configuration to a UP (uniprocessor) Linux kernel configuration. |
This article explains how to switch from a SMP (symmetric multiprocessing) Linux<sup>®</sup> kernel configuration to a UP (uniprocessor) Linux kernel configuration. |
||
Line 14: | Line 7: | ||
==Modify kernel configuration== |
==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. |
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> |