Re: [PATCH v3] selftests: cgroup: fix test_kmem_memcg_deletion kernel mem check

From: Shakeel Butt
Date: Thu Aug 17 2023 - 16:03:03 EST


On Thu, Aug 17, 2023 at 12:58 PM Lucas Karpinski <lkarpins@xxxxxxxxxx> wrote:
>
> Currently, not all kernel memory usage is being accounted for. This
> commit switches to using the kernel entry within memory.stat which
> already includes kernel_stack, pagetables, and slab. The kernel entry
> also includes vmalloc and other additional kernel memory use cases which
> were missing.
>
> Signed-off-by: Lucas Karpinski <lkarpins@xxxxxxxxxx>

Acked-by: Shakeel Butt <shakeelb@xxxxxxxxxx>