summaryrefslogtreecommitdiff
path: root/include/linux/powercap.h
diff options
context:
space:
mode:
authorVishal Moola (Oracle) <vishal.moola@gmail.com>2022-11-01 20:53:22 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-12-12 05:12:12 +0300
commit3720dd6dcac38d03424d6ba38107f39af5318bcf (patch)
tree4ddfd1b443487daf67893b67407fcb0b818a0134 /include/linux/powercap.h
parentc5a303a51b9ca85b52250fd8d92bf4918fbbdf0d (diff)
downloadlinux-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/powercap.h')
0 files changed, 0 insertions, 0 deletions