diff options
author | Roman Gushchin <[email protected]> | 2020-12-01 13:58:29 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-12-02 18:28:06 -0800 |
commit | 87944e2992bd28098c6806086a1e96bb4d0e502b (patch) | |
tree | a7a8020aa1c6c951831d34e2531053ca16c6d833 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 270c6a71460e12b07b1dcadf7457ff95b6c6e8f4 (diff) |
mm: Introduce page memcg flags
The lowest bit in page->memcg_data is used to distinguish between struct
memory_cgroup pointer and a pointer to a objcgs array. All checks and
modifications of this bit are open-coded.
Let's formalize it using page memcg flags, defined in enum
page_memcg_data_flags.
Additional flags might be added later.
Signed-off-by: Roman Gushchin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions