summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-01-11 17:28:53 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-02-03 09:32:56 +0300
commiteb01a2ad7e9cba1b9dd131edc5a26ffbda90a5ed (patch)
tree3ad239ed06db02ba072b36c241d078153ec934a8 /include
parentee0800c2f6a9e605947ce499d79fb7e2be16d6dd (diff)
downloadlinux-eb01a2ad7e9cba1b9dd131edc5a26ffbda90a5ed.tar.xz
mm: convert page_add_file_rmap() to use a folio internally
The API for page_add_file_rmap() needs to be page-based, because we can add mappings of individual pages. But inside the function, we want to only call compound_head() once and then use the folio APIs instead of the page APIs that each call compound_head(). Link: https://lkml.kernel.org/r/20230111142915.1001531-8-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