Re: [PATCH 4/4] mm/rmap: try_to_migrate() skip zone_device !device_private

From: Shakeel Butt
Date: Wed Jul 07 2021 - 16:54:22 EST


On Wed, Jul 7, 2021 at 1:13 PM Hugh Dickins <hughd@xxxxxxxxxx> wrote:
>
> I know nothing about zone_device pages and !device_private pages; but
> if try_to_migrate_one() will do nothing for them, then it's better that
> try_to_migrate() filter them first, than trawl through all their vmas.
>
> Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>

Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>