]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/page_alloc: Move set_page_refcounted() to callers of get_page_from_freelist()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 14 Jun 2022 20:11:50 +0000 (16:11 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 3 Jan 2023 14:00:32 +0000 (09:00 -0500)
commitdc26f1d986972fe563ebd9f124178ce9f25694a8
treec082d449a47720d3598c40daa8654d7f0919717f
parent28fe2f0fd413bdf8dcee05e64870e1178d3dbd0a
mm/page_alloc: Move set_page_refcounted() to callers of get_page_from_freelist()

In preparation for allocating frozen pages, stop initialising the page
refcount in get_page_from_freelist().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/page_alloc.c