]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memcg: move mem_cgroup_event_ratelimit to v1 code
authorShakeel Butt <shakeel.butt@linux.dev>
Thu, 15 Aug 2024 05:04:48 +0000 (22:04 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 17 Aug 2024 00:53:23 +0000 (17:53 -0700)
commit49819a8b8c6a2695bb8c7ebb674c06d3940e4304
tree6e97860c100db9701e25db2ef75a1a8a2757c6ce
parent32a173d40cca1de99c3187d95b55f4467304d014
memcg: move mem_cgroup_event_ratelimit to v1 code

There are no callers of mem_cgroup_event_ratelimit() in the v2 code.  Move
it to v1 only code and rename it to memcg1_event_ratelimit().

Link: https://lkml.kernel.org/r/20240815050453.1298138-3-shakeel.butt@linux.dev
Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: T.J. Mercier <tjmercier@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol-v1.c
mm/memcontrol-v1.h
mm/memcontrol.c