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

From: zhiguojiang
Date: Wed Nov 22 2023 - 02:10:52 EST




在 2023/11/22 14:20, Matthew Wilcox 写道:
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?
Sorry, I didn't understand your meaning correctly before. I have updated base on the latest linux-next tree in patch v4.
Thank you for your patient guidance.