Kconfig.preempt (54a728dc5e4feb0a9278ad62b19f34ad21ed0ee4) | Kconfig.preempt (d2343cb8d154fe20c4499711bb3a9af2095b2b4b) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2 3choice 4 prompt "Preemption Model" 5 default PREEMPT_NONE 6 7config PREEMPT_NONE 8 bool "No Forced Preemption (Server)" --- 88 unchanged lines hidden (view full) --- 97 but if runtime patching is not available for the specific architecture 98 then the potential overhead should be considered. 99 100 Interesting if you want the same pre-built kernel should be used for 101 both Server and Desktop workloads. 102 103config SCHED_CORE 104 bool "Core Scheduling for SMT" | 1# SPDX-License-Identifier: GPL-2.0-only 2 3choice 4 prompt "Preemption Model" 5 default PREEMPT_NONE 6 7config PREEMPT_NONE 8 bool "No Forced Preemption (Server)" --- 88 unchanged lines hidden (view full) --- 97 but if runtime patching is not available for the specific architecture 98 then the potential overhead should be considered. 99 100 Interesting if you want the same pre-built kernel should be used for 101 both Server and Desktop workloads. 102 103config SCHED_CORE 104 bool "Core Scheduling for SMT" |
105 default y | |
106 depends on SCHED_SMT 107 help 108 This option permits Core Scheduling, a means of coordinated task 109 selection across SMT siblings. When enabled -- see 110 prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings 111 will execute a task from the same 'core group', forcing idle when no 112 matching task is found. 113 114 Use of this feature includes: 115 - mitigation of some (not all) SMT side channels; 116 - limiting SMT interference to improve determinism and/or performance. 117 | 105 depends on SCHED_SMT 106 help 107 This option permits Core Scheduling, a means of coordinated task 108 selection across SMT siblings. When enabled -- see 109 prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings 110 will execute a task from the same 'core group', forcing idle when no 111 matching task is found. 112 113 Use of this feature includes: 114 - mitigation of some (not all) SMT side channels; 115 - limiting SMT interference to improve determinism and/or performance. 116 |
118 SCHED_CORE is default enabled when SCHED_SMT is enabled -- when 119 unused there should be no impact on performance. | 117 SCHED_CORE is default disabled. When it is enabled and unused, 118 which is the likely usage by Linux distributions, there should 119 be no measurable impact on performance. |
120 121 | 120 121 |