diff options
author | Vishal Moola (Oracle) <vishal.moola@gmail.com> | 2022-11-01 20:53:22 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-12-12 05:12:12 +0300 |
commit | 3720dd6dcac38d03424d6ba38107f39af5318bcf (patch) | |
tree | 4ddfd1b443487daf67893b67407fcb0b818a0134 /include/linux/overflow.h | |
parent | c5a303a51b9ca85b52250fd8d92bf4918fbbdf0d (diff) | |
download | linux-3720dd6dcac38d03424d6ba38107f39af5318bcf.tar.xz |
filemap: convert replace_page_cache_page() to replace_page_cache_folio()
Patch series "Removing the lru_cache_add() wrapper".
This patchset replaces all calls of lru_cache_add() with the folio
equivalent: folio_add_lru(). This is allows us to get rid of the wrapper
The series passes xfstests and the userfaultfd selftests.
This patch (of 5):
Eliminates 7 calls to compound_head().
Link: https://lkml.kernel.org/r/20221101175326.13265-1-vishal.moola@gmail.com
Link: https://lkml.kernel.org/r/20221101175326.13265-2-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions