Re: [patch 04/16] sched: validate CFS quota hierarchies
From: Hidetoshi Seto
Date: Wed Jun 22 2011 - 05:38:36 EST
(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@xxxxxxxxxx>
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@xxxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/