]> www.infradead.org Git - users/dwmw2/linux.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>
Mon, 2 Sep 2024 03:26:19 +0000 (20:26 -0700)
commit41213dd0f81654f0a7863bb5b07a2ebaaf732ebe
tree7d4ff6361d4a97dee4a7526e1870345bcb1e46a5
parent5d383b69a04e2eb2e0ae06e91821fd82cb9acf73
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