diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-09-02 22:46:42 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-04 00:02:53 +0300 |
commit | a160e5377b55bc5c1925a7456b656aabfc07261f (patch) | |
tree | 63c68b1ff88cabb8114a1ace50e360652e7145d5 /mm/memcontrol.c | |
parent | b4e6f66e45b43aed0903731b6c0700573f88282a (diff) | |
download | linux-a160e5377b55bc5c1925a7456b656aabfc07261f.tar.xz |
mm: convert do_swap_page() to use folio_free_swap()
Also convert should_try_to_free_swap() to use a folio. This removes a few
calls to compound_head().
Link: https://lkml.kernel.org/r/20220902194653.1739778-47-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/memcontrol.c')
0 files changed, 0 insertions, 0 deletions