[PATCH 0/2] sched_ext: documentation fixes

From: luoliang

Date: Tue Aug 18 2026 - 23:19:54 EST


From: Liang Luo <luoliang@xxxxxxxxxx>

Two documentation fixes found by cross-checking the documents against
the current kernel code:

1. cgroup-v2.rst: cpu.max, cpu.max.burst and cpu.idle still claim to
affect only the fair-class scheduler, but writes to these files
also notify BPF schedulers through the cgroup_set_bandwidth and
cgroup_set_idle callbacks. Mirror the existing cpu.weight wording.

2. sched-ext.rst: the ops.exit() example reads ei->type, a field
struct scx_exit_info has never had. Use ei->kind so the example
compiles as written.

Liang Luo (2):
Docs/admin-guide/cgroup-v2: document BPF scheduler callbacks for
cpu.max and cpu.idle
sched_ext: Fix nonexistent field in sched-ext.rst example

Documentation/admin-guide/cgroup-v2.rst | 12 +++++++++---
Documentation/scheduler/sched-ext.rst | 2 +-
2 files changed, 10 insertions(+), 4 deletions(-)

--
2.43.0