summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-01-11 14:28:51 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-02-02 22:32:55 -0800
commit62beb906ef644b0f0555b2b9f9626c27e2038d84 (patch)
treec45a7f792acac2cbb383e30f5eba193759266896 /mm/truncate.c
parentb14224fbea62e5bffd680613376fe1268f4103ba (diff)
downloadlwn-62beb906ef644b0f0555b2b9f9626c27e2038d84.tar.gz
lwn-62beb906ef644b0f0555b2b9f9626c27e2038d84.zip
mm: convert page_remove_rmap() to use a folio internally
The API for page_remove_rmap() needs to be page-based, because we can remove mappings of pages individually. 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-6-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions