Re: [PATCH 3/3] mm/migrate: add stable check in migrate_vma_insert_page()

From: Christoph Hellwig
Date: Wed Jan 08 2020 - 02:12:52 EST


On Tue, Jan 07, 2020 at 01:12:08PM -0800, Ralph Campbell wrote:
> migrate_vma_insert_page() closely follows the code in:
> __handle_mm_fault()
> handle_pte_fault()
> do_anonymous_page()

I wonder if we could share more code there?

Otherwise this looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>