[d-kernel] [PATCH un-def/sisyphus] config: PREEMPT -> PREEMPT_VOLUNTARY
Vitaly Chikunov
vt на altlinux.org
Пн Май 9 16:35:19 MSK 2022
But set default preemption to PREEMPT_VOLUNTARY (which is better for
desktops). PREEMPT_DYNAMIC allows user to control preemption model via
kernel command line (preempt=none,voluntary,full).
You can see runtime preemption model in
'/sys/kernel/debug/sched/preempt`.
Signed-off-by: Vitaly Chikunov <vt at altlinux.org>
---
config | 4 ++--
config-std | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/config b/config
index 179bbbf77096..534fb75f3d23 100644
--- a/config
+++ b/config
@@ -121,8 +121,8 @@ CONFIG_BPF_LSM=y
# end of BPF subsystem
# CONFIG_PREEMPT_NONE is not set
-# CONFIG_PREEMPT_VOLUNTARY is not set
-CONFIG_PREEMPT=y
+CONFIG_PREEMPT_VOLUNTARY=y
+# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
CONFIG_PREEMPT_DYNAMIC=y
diff --git a/config-std b/config-std
index 4762d5ecdb30..e69de29bb2d1 100644
--- a/config-std
+++ b/config-std
@@ -1 +0,0 @@
-CONFIG_PREEMPT_VOLUNTARY=y
--
2.33.2
Подробная информация о списке рассылки devel-kernel