diff options
| author | Balbir Singh <[email protected]> | 2009-01-07 18:08:05 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-01-08 08:31:05 -0800 |
| commit | 28dbc4b6a01fb579a9441c7b81e3d3413dc452df (patch) | |
| tree | c45d94be6cd243f3e677ec8279bfec87855802d0 /tools/perf/scripts/python | |
| parent | 52bc0d82100cd896213a9a25ec01c1ba87b939db (diff) | |
memcg: memory cgroup resource counters for hierarchy
Add support for building hierarchies in resource counters. Cgroups allows
us to build a deep hierarchy, but we currently don't link the resource
counters belonging to the memory controller control groups, in the same
fashion as the corresponding cgroup entries in the cgroup hierarchy. This
patch provides the infrastructure for resource counters that have the same
hiearchy as their cgroup counter parts.
These set of patches are based on the resource counter hiearchy patches
posted by Pavel Emelianov.
NOTE: Building hiearchies is expensive, deeper hierarchies imply charging
the all the way up to the root. It is known that hiearchies are
expensive, so the user needs to be careful and aware of the trade-offs
before creating very deep ones.
[[email protected]: coding-style fixes]
Signed-off-by: Balbir Singh <[email protected]>
Cc: YAMAMOTO Takashi <[email protected]>
Cc: Paul Menage <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Pavel Emelianov <[email protected]>
Cc: Dhaval Giani <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions