Re: [PATCH v2] sched: RT bandwidth interface for cgroup unified hierarchy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 6/21/22 18:55, Chengming Zhou wrote:
We need to run RT threads in cgroup unified hierarchy, but we can't
since the default rt_bandwidth.rt_runtime of non-root task_group is 0
and we haven't interface to update it.

This patch add RT bandwidth interface "cpu.max.rt" and update the
documentation accordingly.

Signed-off-by: Chengming Zhou<zhouchengming@xxxxxxxxxxxxx>
---
v2:
  - minor fix for documentation per Randy's review. Thanks.

Documentation changes look good. Thanks.

---
  Documentation/admin-guide/cgroup-v2.rst | 13 +++++++++++
  kernel/sched/core.c                     | 31 +++++++++++++++++++++++++
  kernel/sched/rt.c                       |  2 +-
  kernel/sched/sched.h                    |  1 +
  4 files changed, 46 insertions(+), 1 deletion(-)



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux