Re: [PATCH] mm: memcg-v1: account vmpressure event allocations

From: Muchun Song

Date: Mon Jul 13 2026 - 08:31:32 EST




> On Jul 13, 2026, at 16:55, Guopeng Zhang <guopeng.zhang@xxxxxxxxx> wrote:
>
> From: Guopeng Zhang <zhangguopeng@xxxxxxxxxx>
>
> Commit 72797d218b43 ("mm/memcg: v1: account event registrations and drop
> world-writable cgroup.event_control") accounted cgroup v1 event
> registration allocations with GFP_KERNEL_ACCOUNT, but missed struct
> vmpressure_event.
>
> Use GFP_KERNEL_ACCOUNT for this allocation as well.
>
> Fixes: 72797d218b43 ("mm/memcg: v1: account event registrations and drop world-writable cgroup.event_control")
> Signed-off-by: Guopeng Zhang <zhangguopeng@xxxxxxxxxx>

Reviewed-by: Muchun Song <muchun.song@xxxxxxxxx>