Re: [patch 04/16] sched: validate CFS quota hierarchies

Hidetoshi Seto
2011-06-22T09:38:34Z

(2011/06/21 16:16), Paul Turner wrote:
> Add constraints validation for CFS bandwidth hierarchies.
>
> Validate that:
> max(child bandwidth) <= parent_bandwidth
>
> In a quota limited hierarchy, an unconstrained entity
> (e.g. bandwidth==RUNTIME_INF) inherits the bandwidth of its parent.
>
> This constraint is chosen over sum(child_bandwidth) as notion of over-commit is
> valuable within SCHED_OTHER. Some basic code from the RT case is re-factored
> for reuse.
>
> Signed-off-by: Paul Turner <pjt@google.com>
>
> ---

The sysctl_sched_cfs_bandwidth_consistent is gone for good.
Now it is no longer complicated.

(Though there is a trivial typo pointed by Bharata, soon it will be fixed.)
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>

Thanks,
H.Seto