]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/page_alloc: Move set_page_refcounted() to callers of prep_new_page()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 14 Jun 2022 20:05:45 +0000 (16:05 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 3 Jan 2023 14:00:32 +0000 (09:00 -0500)
commit28fe2f0fd413bdf8dcee05e64870e1178d3dbd0a
tree3054849290742ecbda01af4aad8f2b94b51b1250
parent37c4de9ce17b5f4c7fbd76d91ad41bfaddc7a2f2
mm/page_alloc: Move set_page_refcounted() to callers of prep_new_page()

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

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