]> git.baikalelectronics.ru Git - kernel.git/commit
huge_memory: convert do_huge_pmd_wp_page() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:38 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:52 +0000 (14:02 -0700)
commita9607b1668a8277c6c3a70c77f2f4902222ceb40
tree0e850cec567f7471334981718a27489afbd0020c
parent12a6b7889e0838cd107930723f7441ce6c1c5e18
huge_memory: convert do_huge_pmd_wp_page() to use a folio

Removes many calls to compound_head().  Does not remove the assumption
that a folio may not be larger than a PMD.

Link: https://lkml.kernel.org/r/20220902194653.1739778-43-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c