diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-12-16 04:55:54 +0100 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 13:49:40 +0200 |
commit | cc09cb134124a42fbe3bdcebefdc54e286d8f3e5 (patch) | |
tree | 9b4d5703a69507091b2c689a1f111088c19592ec /sound/virtio | |
parent | mm/lru: Add folio_add_lru() (diff) | |
download | linux-cc09cb134124a42fbe3bdcebefdc54e286d8f3e5.tar.xz linux-cc09cb134124a42fbe3bdcebefdc54e286d8f3e5.zip |
mm/page_alloc: Add folio allocation functions
The __folio_alloc(), __folio_alloc_node() and folio_alloc() functions
are mostly for type safety, but they also ensure that the page allocator
allocates a compound page and initialises the deferred list if the page
is large enough to have one.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'sound/virtio')
0 files changed, 0 insertions, 0 deletions