summaryrefslogtreecommitdiff
path: root/include/linux/swap.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-09-02 22:46:42 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-10-04 00:02:53 +0300
commita160e5377b55bc5c1925a7456b656aabfc07261f (patch)
tree63c68b1ff88cabb8114a1ace50e360652e7145d5 /include/linux/swap.h
parentb4e6f66e45b43aed0903731b6c0700573f88282a (diff)
downloadlinux-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 'include/linux/swap.h')
0 files changed, 0 insertions, 0 deletions