diff options
author | Namhyung Kim <[email protected]> | 2011-05-26 16:25:29 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-05-26 17:12:35 -0700 |
commit | 268433b8e54486b12478e94ba18587bcc7de4d57 (patch) | |
tree | 02686a62751fbdd2ad3125a53952c09381d7ac72 /tools/perf/scripts/python/sched-migration.py | |
parent | 39cc98f1f8aa949afeea89f424c7494b0785d7da (diff) |
memcg: mark init_section_page_cgroup() properly
Commit ca371c0d7e23 ("memcg: fix page_cgroup fatal error in FLATMEM")
removes call to alloc_bootmem() in the function so that it can be marked
as __meminit to reduce memory usage when MEMORY_HOTPLUG=n.
Also as the new helper function alloc_page_cgroup() is called only in the
function, it should be marked too.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Balbir Singh <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Daisuke Nishimura <[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