aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorPaul Turner <[email protected]>2011-07-21 09:43:28 -0700
committerIngo Molnar <[email protected]>2011-08-14 12:03:20 +0200
commitab84d31e15502fb626169ba2663381e34bf965b2 (patch)
tree658ce7caa6199aa74c5feea92ec8d3e9a2cb4296 /lib/memory-notifier-error-inject.c
parent953bfcd10e6f3697233e8e5128c611d275da39c1 (diff)
sched: Introduce primitives to account for CFS bandwidth tracking
In this patch we introduce the notion of CFS bandwidth, partitioned into globally unassigned bandwidth, and locally claimed bandwidth. - The global bandwidth is per task_group, it represents a pool of unclaimed bandwidth that cfs_rqs can allocate from. - The local bandwidth is tracked per-cfs_rq, this represents allotments from the global pool bandwidth assigned to a specific cpu. Bandwidth is managed via cgroupfs, adding two new interfaces to the cpu subsystem: - cpu.cfs_period_us : the bandwidth period in usecs - cpu.cfs_quota_us : the cpu bandwidth (in usecs) that this tg will be allowed to consume over period above. Signed-off-by: Paul Turner <[email protected]> Signed-off-by: Nikhil Rao <[email protected]> Signed-off-by: Bharata B Rao <[email protected]> Reviewed-by: Hidetoshi Seto <[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