aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2009-01-07 18:08:32 -0800
committerLinus Torvalds <[email protected]>2009-01-08 08:31:10 -0800
commita7ba0eef3af51cd1b6fc4028e4705b3ea2ea9469 (patch)
tree70e43097041eed321be38d1af4ed65e41d1ebff9 /tools/perf/scripts/python/syscall-counts.py
parent03f3c433648a97ae7c86be789edba67690f6ea60 (diff)
memcg: fix double free and make refcnt sane
1. Fix double-free BUG in error route of mem_cgroup_create(). mem_cgroup_free() itself frees per-zone-info. 2. Making refcnt of memcg simple. Add 1 refcnt at creation and call free when refcnt goes down to 0. Reviewed-by: Daisuke Nishimura <[email protected]> Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Paul Menage <[email protected]> Cc: Daisuke Nishimura <[email protected]> Cc: Li Zefan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions