diff options
| author | Roman Gushchin <[email protected]> | 2024-06-28 21:03:13 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-04 18:05:56 -0700 |
| commit | 05dfec123ddefd058b72b3de8eaf6e4d0de11292 (patch) | |
| tree | b244a6c44ff616e93389ccf514a12e9bcc23dedc /include/linux | |
| parent | b5855a26dedf210bcc1deb4cb30f9f657571a28a (diff) | |
mm: memcg: guard memcg1-specific fields accesses in mm/memcontrol.c
There are only few memcg1-specific struct mem_cgroup's members accesses
left in mm/memcontrol.c. Let's guard them with the CONFIG_MEMCG_V1 config
option.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Roman Gushchin <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions