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

From: Roman Gushchin
Date: Wed May 01 2024 - 19:23:23 EST


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@xxxxxxxxx>

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