aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Blunck <[email protected]>2009-01-07 18:07:53 -0800
committerLinus Torvalds <[email protected]>2009-01-08 08:31:04 -0800
commitc8dad2bb6307f5b00f804a686917105206a4d5c9 (patch)
tree5f1b7dd1fc4ae5789e35e5d0dade0d37be9fe52e /tools/perf/scripts/python
parentf817ed48535ac6510ebae7c4116f24a5f9268834 (diff)
memcg: reduce size of mem_cgroup by using nr_cpu_ids
As Jan Blunck <[email protected]> pointed out, allocating per-cpu stat for memcg to the size of NR_CPUS is not good. This patch changes mem_cgroup's cpustat allocation not based on NR_CPUS but based on nr_cpu_ids. Reviewed-by: Li Zefan <[email protected]> Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Li Zefan <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Pavel Emelyanov <[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