[PATCH 0/2] cgroup cpu: set burst to zero when cfs bandwidth is

From: Cheng Yu
Date: Tue May 21 2024 - 23:16:04 EST


In the cgroup cpu subsystem, when we remove the restriction on cfs
bandwidth, the burst feature is also turned off. At that time, we expect
that the value of burst is zero.

Patch 1 fixes it in cgroup v1 by Zhao Wenhui and patch 2 fixes it in
cgroup v2.

Cheng Yu (1):
sched/fair: set burst to zero when set max to cpu.max

Zhao Wenhui (1):
sched/fair: limit burst to zero when cfs bandwidth is turned off

kernel/sched/core.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

--
2.25.1