mm: memcontrol: introduce CONFIG_MEMCG_LEGACY_KMEM
Let the user know that CONFIG_MEMCG_KMEM does not apply to the cgroup2 interface. This also makes legacy-only code sections stand out better. [arnd@arndb.de: mm: memcontrol: only manage socket pressure for CONFIG_INET] Signed-off-by:Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@suse.cz> Cc: Tejun Heo <tj@kernel.org> Acked-by:
Vladimir Davydov <vdavydov@virtuozzo.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- include/linux/memcontrol.h 2 additions, 2 deletionsinclude/linux/memcontrol.h
- init/Kconfig 9 additions, 1 deletioninit/Kconfig
- mm/memcontrol.c 9 additions, 9 deletionsmm/memcontrol.c
- mm/vmpressure.c 2 additions, 0 deletionsmm/vmpressure.c
- net/ipv4/Makefile 1 addition, 1 deletionnet/ipv4/Makefile
Loading
Please register or sign in to comment