summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-09-02 22:46:05 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-10-04 00:02:46 +0300
commit14d01ee9fcb901c9e020f2dcd71c500f10c3bd03 (patch)
treeea3be38d215f5f82f06d11a1fba8c25d2d0ef8bd /include
parent907ea17eb2b436f07332c935476d77893abae735 (diff)
downloadlinux-14d01ee9fcb901c9e020f2dcd71c500f10c3bd03.tar.xz
mm/swapfile: remove page_swapcount()
By restructuring folio_swapped(), it can use swap_swapcount() instead of page_swapcount(). It's even a little more efficient. Link: https://lkml.kernel.org/r/20220902194653.1739778-10-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')
0 files changed, 0 insertions, 0 deletions