Re: [PATCH] mm: free HIGHATOMIC and CMA frozen pages via buddy

From: Zhaoyang Huang

Date: Mon May 25 2026 - 21:02:37 EST


On Tue, May 26, 2026 at 4:15 AM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, 25 May 2026 15:10:33 +0800 "zhaoyang.huang" <zhaoyang.huang@xxxxxxxxxx> wrote:
>
> > Pages in pageblocks above MIGRATE_PCPTYPES were remapped to
> > MIGRATE_MOVABLE on the per-CPU lists, so order-9 GFP_ATOMIC
> > allocations could consume CMA physical blocks which may lead to
> > cma_alloc failed.
> > This commit would like to free them through free_one_page() simply.
>
> Can you please describe the userspace-visible effects of this change?
> Before and after. And include this description within the patch
> changelog.
ok. KVM start up failed occasionally observed in our system which is
supposed to be caused by page migration fail
>
> AI review claims to have found a couple of issues, one of which sounds
> serious:
> https://sashiko.dev/#/patchset/20260525071033.1104929-1-zhaoyang.huang@xxxxxxxxxx
yes, that is problem, will fix in v2
>
> Thanks.