diff options
author | Paul Turner <[email protected]> | 2011-07-21 09:43:29 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-08-14 12:03:22 +0200 |
commit | a790de99599a29ad3f18667530cf4b9f4b7e3234 (patch) | |
tree | 58a06419b7a6a90dac6028263a54b3ed3e68e40b /lib/memory-notifier-error-inject.c | |
parent | ab84d31e15502fb626169ba2663381e34bf965b2 (diff) |
sched: Validate CFS quota hierarchies
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions