# Re: \[PATCH v14 084/138\] mm/page\_alloc: Add folio allocation functions

- From: Vlastimil Babka \<hidden\>
- Date: 2021-08-12 17:25:04 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212246
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/5.md

```text
On 7/15/21 5:36 AM, Matthew Wilcox (Oracle) wrote:
> 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 <redacted>

```
