summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2022-09-14 00:30:38 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-10-03 23:03:14 +0200
commitd452289fcd68f13f4067f0ddd78a5d948cb7d9ea (patch)
tree9eb6f370fcc7e998374b5700080690007af88f0d /mm/page_alloc.c
parentmm/page_alloc.c: rename check_free_page() to free_page_is_bad() (diff)
downloadlinux-d452289fcd68f13f4067f0ddd78a5d948cb7d9ea.tar.xz
linux-d452289fcd68f13f4067f0ddd78a5d948cb7d9ea.zip
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: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index c48357c124eb..4e8ea824e765 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -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 true if this page has an inappropriate state */
static bool bulkfree_pcp_prepare(struct page *page)
{
if (debug_pagealloc_enabled_static())