From: Vitaly Chikunov <vt@altlinux.org>
To: devel-kernel@lists.altlinux.org
Subject: [d-kernel] [PATCH un-def/sisyphus] config: PREEMPT -> PREEMPT_VOLUNTARY
Date: Mon, 9 May 2022 16:35:19 +0300
Message-ID: <20220509133519.101297-1-vt@altlinux.org> (raw)
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
reply other threads:[~2022-05-09 13:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220509133519.101297-1-vt@altlinux.org \
--to=vt@altlinux.org \
--cc=devel-kernel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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