summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-09-02 21:45:59 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-10-03 23:02:44 +0200
commitc3a15bff46cb5149aeae4c8ae69443d791fa6578 (patch)
treec19fc91cfc9daf06572af7b2950b573ec10bc3fd /ipc
parentmm: add the first tail page to struct folio (diff)
downloadlinux-c3a15bff46cb5149aeae4c8ae69443d791fa6578.tar.xz
linux-c3a15bff46cb5149aeae4c8ae69443d791fa6578.zip
mm: reimplement folio_order() and folio_nr_pages()
Instead of calling compound_order() and compound_nr_pages(), use the folio directly. Saves 1905 bytes from mm/filemap.o due to folio_test_large() now being a cheaper check than PageHead(). Link: https://lkml.kernel.org/r/20220902194653.1739778-4-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions