]> git.baikalelectronics.ru Git - kernel.git/commit
mm/huge_memory: convert do_huge_pmd_anonymous_page() to use vma_alloc_folio()
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:14 +0000 (07:20 -0700)
commitd9b51d131c51a12f164c42eb1a99237f64ebdb53
tree78955f53e01b9df1d737b80ff96bf6f97b811062
parentdf50c7ce8742ac2987089e3406d07c84f6aa3aef
mm/huge_memory: convert do_huge_pmd_anonymous_page() to use vma_alloc_folio()

Remove the use of this old API, eliminating a call to
prep_transhuge_page().

Link: https://lkml.kernel.org/r/20220504182857.4013401-3-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>
mm/huge_memory.c