diff options
| author | Johannes Weiner <[email protected]> | 2011-03-23 16:42:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-23 19:46:26 -0700 |
| commit | 97a6c37b34f46feed2544bd40891ee6dd0fd1554 (patch) | |
| tree | 6135189ba1f589d7a3b10c5e24da9a42ea9036f5 /tools/perf/scripts/python/bin | |
| parent | ad324e94475a04cfcdfdb11ad20f8ea81268e411 (diff) | |
memcg: change page_cgroup_zoneinfo signature
Instead of passing a whole struct page_cgroup to this function, let it
take only what it really needs from it: the struct mem_cgroup and the
page.
This has the advantage that reading pc->mem_cgroup is now done at the same
place where the ordering rules for this pointer are enforced and
explained.
It is also in preparation for removing the pc->page backpointer.
Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions