]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/page_alloc: Move set_page_refcounted() to callers of __alloc_pages_direct_reclaim()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 14 Jun 2022 20:27:38 +0000 (16:27 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 3 Jan 2023 14:00:32 +0000 (09:00 -0500)
commit29987cee1a115a24e19b1f18fae2f7e2e0862b29
treee5ddde87ef5714bd05847fe5cbbfd8537463c847
parentbe775f90434de64182f57c7982425c18ecb96211
mm/page_alloc: Move set_page_refcounted() to callers of __alloc_pages_direct_reclaim()

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

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