diff options
author | 2024-06-24 17:58:56 -0700 | |
---|---|---|
committer | 2024-07-04 18:05:52 -0700 | |
commit | e548ad4a7cbf765f3ab74f6aa1aecc2df390a0b2 (patch) | |
tree | 547602edf07d8c01fc4519b7978690393b2c5e10 /include | |
parent | mm: memcg: rename soft limit reclaim-related functions (diff) | |
download | linux-rng-e548ad4a7cbf765f3ab74f6aa1aecc2df390a0b2.tar.xz linux-rng-e548ad4a7cbf765f3ab74f6aa1aecc2df390a0b2.zip |
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/20240625005906.106920-5-roman.gushchin@linux.dev
Signed-off-by: Roman Gushchin <roman.gushchin@linux.dev>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions