]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/page_alloc: Move set_page_refcounted() to callers of __alloc_pages_direct_compact()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 14 Jun 2022 20:24:46 +0000 (16:24 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 3 Jan 2023 14:00:32 +0000 (09:00 -0500)
commitbe775f90434de64182f57c7982425c18ecb96211
tree28a74234afe0bde47a2b657f06e6116e00285a88
parentb0b0444704f5aa47ae3f3ff2c0bdae8b1123b551
mm/page_alloc: Move set_page_refcounted() to callers of __alloc_pages_direct_compact()

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

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