]> 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)
commit3433bb9224b756b0e06b352c43d06c207e2c58f8
tree95e8ad9ce92ae7fbf78dc90d2f76568397452df2
parentb954ebea326c315d6bc8f70e49756a873881f3e2
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