diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-01-16 22:18:11 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-03 09:33:19 +0300 |
commit | 28d41a4863316321bb5aa616bd82d65c84fc0f8b (patch) | |
tree | 3ff4f81618844d5ea48ae9180cd43dc5dee6e7eb /mm/page-writeback.c | |
parent | cb3184deef10fdc7658fb366189864c89ad118c9 (diff) | |
download | linux-28d41a4863316321bb5aa616bd82d65c84fc0f8b.tar.xz |
mm: convert wp_page_copy() to use folios
Use new_folio instead of new_page throughout, because we allocated it
and know it's an order-0 folio. Most old_page uses become old_folio,
but use vmf->page where we need the precise page.
Link: https://lkml.kernel.org/r/20230116191813.2145215-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions