提交 d452289f 编写于 作者: A Andrew Morton

mm/page_alloc.c: document bulkfree_pcp_prepare() return value

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: ke.wang <ke.wang@unisoc.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Zhaoyang Huang <huangzhaoyang@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
上级 a8368cd8
...@@ -1501,6 +1501,7 @@ static bool free_pcp_prepare(struct page *page, unsigned int order) ...@@ -1501,6 +1501,7 @@ static bool free_pcp_prepare(struct page *page, unsigned int order)
return free_pages_prepare(page, order, true, FPI_NONE); return free_pages_prepare(page, order, true, FPI_NONE);
} }
/* return true if this page has an inappropriate state */
static bool bulkfree_pcp_prepare(struct page *page) static bool bulkfree_pcp_prepare(struct page *page)
{ {
if (debug_pagealloc_enabled_static()) if (debug_pagealloc_enabled_static())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册