diff options
author | Muchun Song <songmuchun@bytedance.com> | 2025-04-10 11:18:12 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-04-18 06:10:06 +0300 |
commit | 6b956934ad6d9f76c66c8fab570b07536c6ca472 (patch) | |
tree | c7753d87f0d54eaee7140790e0b87a2cc01cbe4b /rust/helpers/blk.c | |
parent | 5e610c8c09990dc4bfdfdc56138838a41a718967 (diff) | |
download | linux-6b956934ad6d9f76c66c8fab570b07536c6ca472.tar.xz |
mm: memcontrol: fix swap counter leak from offline cgroup
commit 73f839b6d2ed addressed an issue regarding the swap counter leak
that occurred from an offline cgroup. However, commit 89ce924f0bd4
modified the parameter from @swap_memcg to @memcg (presumably this
alteration was introduced while resolving conflicts). Fix this problem by
reverting this minor change.
Link: https://lkml.kernel.org/r/20250410081812.10073-1-songmuchun@bytedance.com
Fixes: 89ce924f0bd4 ("mm: memcontrol: move memsw charge callbacks to v1")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/helpers/blk.c')
0 files changed, 0 insertions, 0 deletions