]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/mempolicy.c
mm: remove alloc_pages_vma()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 13 May 2022 03:23:01 +0000 (20:23 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 13 May 2022 14:20:15 +0000 (07:20 -0700)
commitadf88aa8ea7ff143825a2a8a7193f92e0e6fc79b
tree11c1a75aebde01e87ddf87b00d7cf0e20508bd5d
parentf9c668d281aa20e38c9bda3b7b0adeb8891aa15e
mm: remove alloc_pages_vma()

All callers have now been converted to use vma_alloc_folio(), so convert
the body of alloc_pages_vma() to allocate folios instead.

Link: https://lkml.kernel.org/r/20220504182857.4013401-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/gfp.h
mm/mempolicy.c