]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/page_alloc: Add __alloc_frozen_pages()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 14 Jun 2022 20:47:57 +0000 (16:47 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 3 Jan 2023 14:00:32 +0000 (09:00 -0500)
commitfadfe565253af0b19b3909bd10ef030a5eefce6c
tree935384086651ee4f793b8bdf4bac871c52427f4d
parentff08fa4bf261f18dade5b1d3bdc46db20be508c1
mm/page_alloc: Add __alloc_frozen_pages()

Defer the initialisation of the page refcount to the new __alloc_pages()
wrapper and turn the old __alloc_pages() into __alloc_frozen_pages().

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