]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memcg-v1: remove memcg move locking code
authorShakeel Butt <shakeel.butt@linux.dev>
Fri, 25 Oct 2024 01:23:03 +0000 (18:23 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:29:25 +0000 (21:29 -0700)
commit1fcd916259e1c306236f086c27ef18a1ba95d5b2
tree1f1989b980221918250e8ed18776e2a58de98ca3
parent4552d8948db1907e9f33d3cdf76a7db07f6212d0
memcg-v1: remove memcg move locking code

The memcg v1's charge move feature has been deprecated.  All the places
using the memcg move lock, have stopped using it as they don't need the
protection any more.  Let's proceed to remove all the locking code related
to charge moving.

Link: https://lkml.kernel.org/r/20241025012304.2473312-7-shakeel.butt@linux.dev
Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memcontrol.h
mm/filemap.c
mm/memcontrol-v1.c
mm/memcontrol.c
mm/rmap.c