Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
scx: Move tools/sched_ext/Kconfig content into sched-ext.rst
Browse files Browse the repository at this point in the history
Kconfig files are usually used to describe config options and
tools/sched_ext/Kconfig isn't being referenced from anywhere. Let's move its
content into the documentation.
  • Loading branch information
htejun committed Feb 28, 2024
1 parent 0accda1 commit 27b5de2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
15 changes: 14 additions & 1 deletion Documentation/scheduler/sched-ext.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
9 changes: 0 additions & 9 deletions tools/sched_ext/Kconfig

This file was deleted.

0 comments on commit 27b5de2

Please sign in to comment.