]> git.baikalelectronics.ru Git - kernel.git/commit
mm/migrate: convert move_to_new_page() into move_to_new_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 13 May 2022 03:23:05 +0000 (20:23 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 13 May 2022 14:20:17 +0000 (07:20 -0700)
commit86f0414e200b8711419418411c7cdc359a4f4fd2
tree95e8ad9ce92ae7fbf78dc90d2f76568397452df2
parent95150eb0f98a8d16d610835cb8874e1994fdb360
mm/migrate: convert move_to_new_page() into move_to_new_folio()

Pass in the folios that we already have in each caller.  Saves a
lot of calls to compound_head().

Link: https://lkml.kernel.org/r/20220504182857.4013401-27-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/migrate.c