Messages in this thread | | | Date | Fri, 25 Jun 2021 11:24:22 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] sched: cgroup SCHED_IDLE support |
| |
On Tue, Jun 15, 2021 at 12:06:57PM +0200, Dietmar Eggemann wrote:
> I agree. `cpu.idle = 1` is like setting the task policy to SCHED_IDLE. > And there is even the `cpu.weight.nice` to support the `task - tg` > analogy on nice values. > > I'm just wondering if integrating this into `cpu.weight` and friends > would be better to make the code behind this easier to grasp.
Magic weight values are dodgy imo. Easiest to have an explicit idle knob which then disables the weight knobs.
| |