* [d-kernel] [PATCH un-def/sisyphus] config: PREEMPT -> PREEMPT_VOLUNTARY
@ 2022-05-09 13:35 Vitaly Chikunov
0 siblings, 0 replies; only message in thread
From: Vitaly Chikunov @ 2022-05-09 13:35 UTC (permalink / raw)
To: devel-kernel
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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-09 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 13:35 [d-kernel] [PATCH un-def/sisyphus] config: PREEMPT -> PREEMPT_VOLUNTARY Vitaly Chikunov
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git