aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2011-05-26 16:25:30 -0700
committerLinus Torvalds <[email protected]>2011-05-26 17:12:35 -0700
commit33278f7f0a9e5a9b29f59e07b7e3182d27769ac2 (patch)
tree8de853c293856cc227d703ffaa0e12410efa1fcd /tools/perf/scripts/python/sched-migration.py
parent268433b8e54486b12478e94ba18587bcc7de4d57 (diff)
memcg: fix off-by-one when calculating swap cgroup map length
It allocated one more page than necessary if @max_pages was a multiple of SC_PER_PAGE. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Balbir Singh <[email protected]> Cc: Daisuke Nishimura <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions