Re: [PATCH] mm: check high-order page when free it to pcp

From: Mel Gorman
Date: Mon Sep 19 2022 - 06:50:10 EST


On Mon, Sep 19, 2022 at 11:47:18AM +0800, zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
>
> High-order pcp page escaped from checking when both of DEBUG_VM and debug_pagealloc
> are all disabled if it allocated again from pcp_list without going to global
> free list, which should be introduced by 44042b4498.
>
> fix:44042b4498
>
> Signed-off-by: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>

Is this based on the comment mentioning order-0 pages above
free_pcp_prepare()? I ask because the comment is wrong and in both
instances should have s/order-0//

--
Mel Gorman
SUSE Labs