diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-04-04 21:23:39 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-04-07 15:43:41 +0200 |
commit | ec4858e07ed62eceb60bac2ded3c0d6e2471c66b (patch) | |
tree | 6aa822364b418a5f875d2f4904ec70720c547cd9 /drivers/regulator/axp20x-regulator.c | |
parent | mm: Add vma_alloc_folio() (diff) | |
download | linux-ec4858e07ed62eceb60bac2ded3c0d6e2471c66b.tar.xz linux-ec4858e07ed62eceb60bac2ded3c0d6e2471c66b.zip |
mm/mempolicy: Use vma_alloc_folio() in new_page()
Simplify new_page() by unifying the THP and base page cases, and
handle orders other than 0 and HPAGE_PMD_ORDER correctly.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Diffstat (limited to 'drivers/regulator/axp20x-regulator.c')
0 files changed, 0 insertions, 0 deletions