Re: [PATCH v3] mm: ALLOC_HIGHATOMIC flag allocation issue

From: Matthew Wilcox
Date: Wed Nov 22 2023 - 01:20:59 EST


On Wed, Nov 22, 2023 at 09:39:25AM +0800, Zhiguo Jiang wrote:
> Update base on the latest Linus' tree or Andrew's tree.
> +++ b/mm/page_alloc.c
> @@ -2851,9 +2851,9 @@ struct page *__rmqueue_pcplist(struct zone *zone, unsigned int order,
> int alloced;
>
> /*
> - * If pcplist is empty and alloc_flags is with ALLOC_HIGHATOMIC,
> - * it should alloc from buddy highatomic migrate freelist firstly
> - * to ensure quick and successful allocation.
> + * If pcplist is empty and alloc_flags contains
> + * ALLOC_HIGHATOMIC, alloc from buddy highatomic
> + * freelist first.

No, it's still based on your earlier patch, is it really so hard for
you to read your patches before you send them?