diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst index e3847b44e17c3..b01c4f22f73e1 100644 --- a/Documentation/scheduler/sched-ext.rst +++ b/Documentation/scheduler/sched-ext.rst @@ -22,7 +22,20 @@ Switching to and from sched_ext =============================== ``CONFIG_SCHED_CLASS_EXT`` is the config option to enable sched_ext and -``tools/sched_ext`` contains the example schedulers. +``tools/sched_ext`` contains the example schedulers. The following config +options should be enabled to use sched_ext: + +.. code-block:: none + + CONFIG_BPF=y + CONFIG_SCHED_CLASS_EXT=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_PAHOLE_HAS_SPLIT_BTF=y + CONFIG_PAHOLE_HAS_BTF_TAG=y sched_ext is used only when the BPF scheduler is loaded and running. diff --git a/tools/sched_ext/Kconfig b/tools/sched_ext/Kconfig deleted file mode 100644 index 6543fcf199f6e..0000000000000 --- a/tools/sched_ext/Kconfig +++ /dev/null @@ -1,9 +0,0 @@ -CONFIG_BPF=y -CONFIG_SCHED_CLASS_EXT=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_PAHOLE_HAS_SPLIT_BTF=y -CONFIG_PAHOLE_HAS_BTF_TAG=y