diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-01-16 22:18:13 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-03 09:33:19 +0300 |
commit | 14ddee4126fecff5c5c0a84940ba34f0bfe3e708 (patch) | |
tree | 7b693aa63cd370265376d46e96426cf5c5d19a47 /mm/filemap.c | |
parent | edf5047058395c89a912783ea29ec8f9e53be414 (diff) | |
download | linux-14ddee4126fecff5c5c0a84940ba34f0bfe3e708.tar.xz |
mm: use a folio in copy_present_pte()
We still have to keep the page around because we need to know which page
in the folio we're copying, but we can replace five implict calls to
compound_head() with one.
Link: https://lkml.kernel.org/r/20230116191813.2145215-6-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/filemap.c')
0 files changed, 0 insertions, 0 deletions