diff options
| author | Johannes Weiner <[email protected]> | 2011-03-23 16:42:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-23 19:46:28 -0700 |
| commit | 6b3ae58efca06623c197fd6d91ded4aa3a8fe039 (patch) | |
| tree | 6460e4e1ce206d391b862a3d398a9e22e33ecb3c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 5564e88ba6fd2f6dcd83a592771810cd84b5ae80 (diff) | |
memcg: remove direct page_cgroup-to-page pointer
In struct page_cgroup, we have a full word for flags but only a few are
reserved. Use the remaining upper bits to encode, depending on
configuration, the node or the section, to enable page_cgroup-to-page
lookups without a direct pointer.
This saves a full word for every page in a system with memory cgroups
enabled.
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]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions