aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2022-09-13 15:30:38 -0700
committerAndrew Morton <[email protected]>2022-10-03 14:03:14 -0700
commitd452289fcd68f13f4067f0ddd78a5d948cb7d9ea (patch)
tree9eb6f370fcc7e998374b5700080690007af88f0d
parenta8368cd8e22531b3b248a2c869d71b668aeeb789 (diff)
mm/page_alloc.c: document bulkfree_pcp_prepare() return value
Cc: Catalin Marinas <[email protected]> Cc: ke.wang <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Zhaoyang Huang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-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())