diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-09-02 22:46:32 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-04 00:02:51 +0300 |
commit | f102cd8b173e066179b472fb6e3b18e31a1cc394 (patch) | |
tree | b911c3fcb713a228fe08c8e830b3246b15ea79e9 /mm/memory.c | |
parent | 2c3f6194b008b23e52a8e135bdd56b67fdaa55ca (diff) | |
download | linux-f102cd8b173e066179b472fb6e3b18e31a1cc394.tar.xz |
swapfile: convert unuse_pte_range() to use a folio
Delay fetching the precise page from the folio until we're in unuse_pte().
Saves many calls to compound_head().
Link: https://lkml.kernel.org/r/20220902194653.1739778-37-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions