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>
Mon, 2 Sep 2024 03:26:20 +0000 (20:26 -0700)
commit98455eef806448b2144fd47655e09abc9f6530c8
tree8fb34aaa65d27a7543ded0b6be23581a4d46d56f
parent0ccaf421d6592bb99bb9b424e4ccca3c6367d799
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