Re: [PATCH] mm: remove CONFIG_MEMCG_KMEM

From: Roman Gushchin
Date: Wed Mar 20 2024 - 18:36:33 EST


On Wed, Mar 20, 2024 at 04:27:45PM -0400, Johannes Weiner wrote:
> CONFIG_MEMCG_KMEM used to be a user-visible option for whether slab
> tracking is enabled. It has been default-enabled and equivalent to
> CONFIG_MEMCG for almost a decade. We've only grown more kernel memory
> accounting sites since, and there is no imaginable cgroup usecase
> going forward that wants to track user pages but not the multitude of
> user-drivable kernel allocations.

I totally support it. I believe one of the reasons for it to exist
was SLOB, which hasn't been supporting the slab memory accounting.
No such reasons anymore.

Acked-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>

Thanks!