]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memcg: make PGPGIN and PGPGOUT v1 only
authorShakeel Butt <shakeel.butt@linux.dev>
Thu, 15 Aug 2024 05:04:53 +0000 (22:04 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 17 Aug 2024 00:53:24 +0000 (17:53 -0700)
commitf3a8cb309c3ed64aa06d95ee9548021662f6d24f
treeb8736ce7bca06cc9974014ee2fa22eff5fb140fc
parent17bdf0f37ad33bd207f79815aa3647ff54d42940
memcg: make PGPGIN and PGPGOUT v1 only

Currently PGPGIN and PGPGOUT are used and exposed in the memcg v1 only
code.  So, let's put them under CONFIG_MEMCG_V1.

Link: https://lkml.kernel.org/r/20240815050453.1298138-8-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.c