diff options
| author | Roman Gushchin <[email protected]> | 2024-06-24 17:58:56 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-04 18:05:52 -0700 |
| commit | e548ad4a7cbf765f3ab74f6aa1aecc2df390a0b2 (patch) | |
| tree | 547602edf07d8c01fc4519b7978690393b2c5e10 /tools/perf/scripts/python/bin | |
| parent | 87024f5837485c2f9541283747428df54c0f9183 (diff) | |
mm: memcg: move charge migration code to memcontrol-v1.c
Unlike the legacy cgroup v1 memory controller, cgroup v2 memory controller
doesn't support moving charged pages between cgroups.
It's a fairly large and complicated code which created a number of
problems in the past. Let's move this code into memcontrol-v1.c. It
shaves off 1k lines from memcontrol.c. It's also another step towards
making the legacy memory controller code optionally compiled.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Roman Gushchin <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions