提交 a57ae9ef 编写于 作者: R Ran Xiaokai 提交者: Andrew Morton

mm/page_alloc: update comments for rmqueue()

Since commit 44042b44 ("mm/page_alloc: allow high-order pages to be
stored on the per-cpu lists"), the per-cpu page allocators (PCP) is not
only for order-0 pages.  Update the comments.

Link: https://lkml.kernel.org/r/20220918025640.208586-1-ran.xiaokai@zte.com.cnSigned-off-by: NRan Xiaokai <ran.xiaokai@zte.com.cn>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
上级 e3e486e6
...@@ -3810,7 +3810,8 @@ static struct page *rmqueue_pcplist(struct zone *preferred_zone, ...@@ -3810,7 +3810,8 @@ static struct page *rmqueue_pcplist(struct zone *preferred_zone,
} }
/* /*
* Allocate a page from the given zone. Use pcplists for order-0 allocations. * Allocate a page from the given zone.
* Use pcplists for THP or "cheap" high-order allocations.
*/ */
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册