projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8368cd
)
mm/page_alloc.c: document bulkfree_pcp_prepare() return value
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 13 Sep 2022 22:30:38 +0000
(15:30 -0700)
committer
Andrew Morton
<akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:14 +0000
(14:03 -0700)
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>
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index c48357c124ebcfc26299752ec25d9c192dac0ff7..4e8ea824e7653a9d84843e4e12a17f1986cadd15 100644
(file)
--- 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())