commit | 14ddee4126fecff5c5c0a84940ba34f0bfe3e708 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Mon Jan 16 19:18:13 2023 +0000 |
committer | Andrew Morton <akpm@linux-foundation.org> | Thu Feb 02 22:33:19 2023 -0800 |
tree | 7b693aa63cd370265376d46e96426cf5c5d19a47 | |
parent | edf5047058395c89a912783ea29ec8f9e53be414 [diff] |
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>