diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-09-02 22:46:05 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-04 00:02:46 +0300 |
commit | 14d01ee9fcb901c9e020f2dcd71c500f10c3bd03 (patch) | |
tree | ea3be38d215f5f82f06d11a1fba8c25d2d0ef8bd /include | |
parent | 907ea17eb2b436f07332c935476d77893abae735 (diff) | |
download | linux-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