On Tue, Dec 11, 2018 at 06:21:38PM +0100, Jan Kara wrote: > Factor out function to compute number of expected page references in > migrate_page_move_mapping(). Note that we move hpage_nr_pages() and > page_has_private() checks from under xas_lock_irq() however this is safe > since we hold page lock. > > Signed-off-by: Jan Kara <jack@xxxxxxx> Acked-by: Mel Gorman <mgorman@xxxxxxx> -- Mel Gorman SUSE Labs