Re: [PATCH] sched: cgroup SCHED_IDLE support

From: Josh Don
Date: Fri Jun 25 2021 - 20:18:28 EST


On Fri, Jun 25, 2021 at 1:15 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> You should probably also make cpu_weight_*write_?64() return -EINVAL when
> IDLE. Similar to how SCHED_IDLE doesn't do nice.

sched_group_set_shares() returns -EINVAL when called on an idle group.