summaryrefslogtreecommitdiff
path: root/block/elevator.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-01-11 14:28:52 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-02-02 22:32:56 -0800
commitee0800c2f6a9e605947ce499d79fb7e2be16d6dd (patch)
treec443b0b1c6eba14398cf2750ba2db9c2afccf06e /block/elevator.h
parent62beb906ef644b0f0555b2b9f9626c27e2038d84 (diff)
downloadlwn-ee0800c2f6a9e605947ce499d79fb7e2be16d6dd.tar.gz
lwn-ee0800c2f6a9e605947ce499d79fb7e2be16d6dd.zip
mm: convert page_add_anon_rmap() to use a folio internally
The API for page_add_anon_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-7-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'block/elevator.h')
0 files changed, 0 insertions, 0 deletions