]> 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)
commit12461cb52987d9b1cc96f65b93fbcf300897a425
tree78955f53e01b9df1d737b80ff96bf6f97b811062
parent6a26192fcec2d02ae7cbbf0d6a315e17328ca1dc
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