[PATCH 0/2] sched_ext: documentation fixes

luoliang@kylinos.cn posted 2 patches 1 month, 1 week ago
Documentation/admin-guide/cgroup-v2.rst | 12 +++++++++---
Documentation/scheduler/sched-ext.rst   |  2 +-
2 files changed, 10 insertions(+), 4 deletions(-)
[PATCH 0/2] sched_ext: documentation fixes
Posted by luoliang@kylinos.cn 1 month, 1 week ago
From: Liang Luo <luoliang@kylinos.cn>

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