]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/memory: Use a folio in copy_pte_range
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 15 Mar 2021 02:47:59 +0000 (22:47 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 28 Sep 2021 16:45:40 +0000 (12:45 -0400)
commit274ea7875ea870933f3889ab6835d054d6daedd9
treebde4741dfd436af8751e8595edc7f55049ac54bc
parent4dbe9adc32f367081574a7209df55985f386f9ef
mm/memory: Use a folio in copy_pte_range

Removes three calls to compound_head() and two calls to check if the page
is devmap.  Shrinks the kernel by 121 bytes overall (a few functions which
seem entirely unrelated grow, but copy_pte_range() shrinks by 232 bytes).

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/memory.c