Re: [PATCH v4 7/8] memcg: warn for unexpected events and stats

Roman Gushchin
2024-05-01T23:23:19Z

On Wed, May 01, 2024 at 10:26:16AM -0700, Shakeel Butt wrote:
> To reduce memory usage by the memcg events and stats, the kernel uses
> indirection table and only allocate stats and events which are being
> used by the memcg code. To make this more robust, let's add warnings
> where unexpected stats and events indexes are used.
>
> Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>