Re: [PATCH] mm/vmpressure: exclude costly-order reclaim from socket pressure accounting

From: Rik van Riel

Date: Sat Nov 28 2026 - 11:37:29 EST


On Fri, 2026-11-27 at 20:27 +0800, Xueyuan Chen wrote:
> vmpressure() accumulates reclaim statistics but only checks the order
> of the last sample when closing a window. As a result, costly-order
> reclaim can still trigger socket pressure indirectly or discard
> accumulated low-order reclaim statistics.
>
> Skip costly-order reclaim before updating the counters.
>
> Fixes: f2a950170f7a ("mm/vmpressure: skip socket pressure for costly
> order reclaim")
> Signed-off-by: Xueyuan Chen <xueyuan.chen21@xxxxxxxxx>
>
Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>

--
All Rights Reversed.