On 5/13/25 05:13, Shakeel Butt wrote: > Let's make count_memcg_events re-entrant safe against irqs. The only > thing needed is to convert the usage of __this_cpu_add() to > this_cpu_add(). In addition, with re-entrant safety, there is no need > to disable irqs. Also add warnings for in_nmi() as it is not safe > against nmi context. > > Signed-off-by: Shakeel Butt <shakeel.butt@xxxxxxxxx> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>