* [PATCH v2 1/2] tools/sched_ext: Sync README.md Kconfig with upstream scx
2026-02-17 7:25 [PATCH v2 0/2] tools/sched_ext: Sync configuration with upstream Cheng-Yang Chou
@ 2026-02-17 7:25 ` Cheng-Yang Chou
2026-02-17 7:26 ` [PATCH v2 2/2] tools/sched_ext: Add Kconfig to sync with upstream Cheng-Yang Chou
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Cheng-Yang Chou @ 2026-02-17 7:25 UTC (permalink / raw)
To: sched-ext; +Cc: tj, void, arighi, changwoo, jserv, yphbchou0911
Sync the documentation with the upstream scx repository to
reflect the current recommended configuration.
Ref: https://github.com/sched-ext/scx/blob/main/README.md#build--install
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
---
tools/sched_ext/README.md | 6 ------
1 file changed, 6 deletions(-)
diff --git a/tools/sched_ext/README.md b/tools/sched_ext/README.md
index 56a9d1557ac4..6e282bce453c 100644
--- a/tools/sched_ext/README.md
+++ b/tools/sched_ext/README.md
@@ -58,14 +58,8 @@ CONFIG_SCHED_CLASS_EXT=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_DEBUG_INFO_BTF=y
-```
-
-It's also recommended that you also include the following Kconfig options:
-
-```
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y
-CONFIG_PAHOLE_HAS_BTF_TAG=y
```
There is a `Kconfig` file in this directory whose contents you can append to
--
2.48.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH v2 2/2] tools/sched_ext: Add Kconfig to sync with upstream
2026-02-17 7:25 [PATCH v2 0/2] tools/sched_ext: Sync configuration with upstream Cheng-Yang Chou
2026-02-17 7:25 ` [PATCH v2 1/2] tools/sched_ext: Sync README.md Kconfig with upstream scx Cheng-Yang Chou
@ 2026-02-17 7:26 ` Cheng-Yang Chou
2026-02-24 3:04 ` [PATCH v2 0/2] tools/sched_ext: Sync configuration " Cheng-Yang Chou
2026-02-24 17:56 ` Tejun Heo
3 siblings, 0 replies; 5+ messages in thread
From: Cheng-Yang Chou @ 2026-02-17 7:26 UTC (permalink / raw)
To: sched-ext; +Cc: tj, void, arighi, changwoo, jserv, yphbchou0911
Add the missing Kconfig file to tools/sched_ext/ as referenced in
the README.
Ref: https://github.com/sched-ext/scx/blob/main/kernel.config
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
---
tools/sched_ext/Kconfig | 61 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 tools/sched_ext/Kconfig
diff --git a/tools/sched_ext/Kconfig b/tools/sched_ext/Kconfig
new file mode 100644
index 000000000000..275bd97ae62b
--- /dev/null
+++ b/tools/sched_ext/Kconfig
@@ -0,0 +1,61 @@
+# sched-ext mandatory options
+#
+CONFIG_BPF=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_BPF_JIT=y
+CONFIG_DEBUG_INFO_BTF=y
+CONFIG_BPF_JIT_ALWAYS_ON=y
+CONFIG_BPF_JIT_DEFAULT_ON=y
+CONFIG_SCHED_CLASS_EXT=y
+
+# Required by some rust schedulers (e.g. scx_p2dq)
+#
+CONFIG_KALLSYMS_ALL=y
+
+# Required on arm64
+#
+# CONFIG_DEBUG_INFO_REDUCED is not set
+
+# LAVD tracks futex to give an additional time slice for futex holder
+# (i.e., avoiding lock holder preemption) for better system-wide progress.
+# LAVD first tries to use ftrace to trace futex function calls.
+# If that is not available, it tries to use a tracepoint.
+CONFIG_FUNCTION_TRACER=y
+
+# Enable scheduling debugging
+#
+CONFIG_SCHED_DEBUG=y
+
+# Enable extra scheduling features (for a better code coverage while testing
+# the schedulers)
+#
+CONFIG_SCHED_AUTOGROUP=y
+CONFIG_SCHED_CORE=y
+CONFIG_SCHED_MC=y
+
+# Enable fully preemptible kernel for a better test coverage of the schedulers
+#
+# CONFIG_PREEMPT_NONE is not set
+# CONFIG_PREEMPT_VOLUNTARY is not set
+CONFIG_PREEMPT=y
+CONFIG_PREEMPT_DYNAMIC=y
+
+# Additional debugging information (useful to catch potential locking issues)
+CONFIG_DEBUG_LOCKDEP=y
+CONFIG_DEBUG_ATOMIC_SLEEP=y
+CONFIG_PROVE_LOCKING=y
+
+# Bpftrace headers (for additional debug info)
+CONFIG_BPF_EVENTS=y
+CONFIG_FTRACE_SYSCALLS=y
+CONFIG_DYNAMIC_FTRACE=y
+CONFIG_KPROBES=y
+CONFIG_KPROBE_EVENTS=y
+CONFIG_UPROBES=y
+CONFIG_UPROBE_EVENTS=y
+CONFIG_DEBUG_FS=y
+
+# Enable access to kernel configuration and headers at runtime
+CONFIG_IKHEADERS=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_IKCONFIG=y
--
2.48.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] tools/sched_ext: Sync configuration with upstream
2026-02-17 7:25 [PATCH v2 0/2] tools/sched_ext: Sync configuration with upstream Cheng-Yang Chou
2026-02-17 7:25 ` [PATCH v2 1/2] tools/sched_ext: Sync README.md Kconfig with upstream scx Cheng-Yang Chou
2026-02-17 7:26 ` [PATCH v2 2/2] tools/sched_ext: Add Kconfig to sync with upstream Cheng-Yang Chou
@ 2026-02-24 3:04 ` Cheng-Yang Chou
2026-02-24 17:56 ` Tejun Heo
3 siblings, 0 replies; 5+ messages in thread
From: Cheng-Yang Chou @ 2026-02-24 3:04 UTC (permalink / raw)
To: sched-ext; +Cc: tj, void, arighi, changwoo, jserv
On Tue, Feb 17, 2026 at 03:25:58PM +0800, Cheng-Yang Chou wrote:
> This series synchronizes the sched-ext tool's Kconfig and README.md
> with the upstream scx repository.
>
> Changes in v2:
> - Rebase v1 to fix application failure.
> - Remove duplicate Kconfig entries and non-user-selectable options.
> - Refactor Kconfig comments for a more professional tone.
> - Link to v1: https://lore.kernel.org/all/20260216110014.771335-1-yphbchou0911@gmail.com/
>
> Thanks,
> -chengyang
>
> ---
>
> Cheng-Yang Chou (2):
> tools/sched_ext: Sync README.md Kconfig with upstream scx
> tools/sched_ext: Add Kconfig to sync with upstream
>
> tools/sched_ext/Kconfig | 61 +++++++++++++++++++++++++++++++++++++++
> tools/sched_ext/README.md | 6 ----
> 2 files changed, 61 insertions(+), 6 deletions(-)
> create mode 100644 tools/sched_ext/Kconfig
>
> --
> 2.48.1
>
Gentle, ping!
Thanks,
cheng-yang
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] tools/sched_ext: Sync configuration with upstream
2026-02-17 7:25 [PATCH v2 0/2] tools/sched_ext: Sync configuration with upstream Cheng-Yang Chou
` (2 preceding siblings ...)
2026-02-24 3:04 ` [PATCH v2 0/2] tools/sched_ext: Sync configuration " Cheng-Yang Chou
@ 2026-02-24 17:56 ` Tejun Heo
3 siblings, 0 replies; 5+ messages in thread
From: Tejun Heo @ 2026-02-24 17:56 UTC (permalink / raw)
To: Cheng-Yang Chou; +Cc: sched-ext, void, arighi, changwoo, jserv, emil
> Cheng-Yang Chou (2):
> tools/sched_ext: Sync README.md Kconfig with upstream scx
> tools/sched_ext: Add Kconfig to sync with upstream
Applied 1-2 to sched_ext/for-7.0-fixes.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 5+ messages in thread