]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/page_alloc: Move set_page_refcounted() to callers of __alloc_pages_may_oom()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 14 Jun 2022 20:22:55 +0000 (16:22 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 3 Jan 2023 14:00:32 +0000 (09:00 -0500)
commitb0b0444704f5aa47ae3f3ff2c0bdae8b1123b551
treebd8dcbab7f36aeaabf83a33a848796d2c359a63b
parent59f284ee18a723a2ebbb6bc616f2961cfded9b5e
mm/page_alloc: Move set_page_refcounted() to callers of __alloc_pages_may_oom()

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

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