Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: page_alloc: use correct names in comments
@ 2026-12-04  7:14 Li Peng
  2026-12-04 11:32 ` sashiko-bot
  2026-12-04 15:14 ` Harry Yoo
  0 siblings, 2 replies; 3+ messages in thread
From: Li Peng @ 2026-12-04  7:14 UTC (permalink / raw)
  To: vbabka, hannes, surenb, mhocko, brendan.jackman, ziy, akpm
  Cc: linux-mm, pengli01

__alloc_pages() should be __alloc_frozen_pages_noprof().
preferred_zone should be preferred_zoneref.

Signed-off-by: Li Peng <pengli01@cestc.cn>
---
 mm/page_alloc.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mm/page_alloc.h b/mm/page_alloc.h
index 917653ae14a3..eecf8430a9e7 100644
--- a/mm/page_alloc.h
+++ b/mm/page_alloc.h
@@ -69,10 +69,10 @@
  * family of functions.
  *
  * nodemask, migratetype and highest_zoneidx are initialized only once in
- * __alloc_pages() and then never change.
+ * __alloc_frozen_pages_noprof() and then never change.
  *
- * zonelist, preferred_zone and highest_zoneidx are set first in
- * __alloc_pages() for the fast path, and might be later changed
+ * zonelist, preferred_zoneref and highest_zoneidx are set first in
+ * __alloc_frozen_pages_noprof() for the fast path, and might be later changed
  * in __alloc_pages_slowpath(). All other functions pass the whole structure
  * by a const pointer.
  */
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-04 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  7:14 [PATCH] mm: page_alloc: use correct names in comments Li Peng
2026-12-04 11:32 ` sashiko-bot
2026-12-04 15:14 ` Harry Yoo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox