mm/migrate_device.c: fix a misleading and outdated comment
authorAlistair Popple <apopple@nvidia.com>
Tue, 30 Aug 2022 02:01:38 +0000 (12:01 +1000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:26:05 +0000 (20:26 -0700)
commit0742e49026121371c7ce1f640628c68c7da175d6
tree7f4d5dab1a38219ff04aed245eb73a3b3eed3f0c
parent663d0cfd2e77aa3ed170df76d441c8f07efa3cf6
mm/migrate_device.c: fix a misleading and outdated comment

Commit ab09243aa95a ("mm/migrate.c: remove MIGRATE_PFN_LOCKED") changed
the way trylock_page() in migrate_vma_collect_pmd() works without updating
the comment.  Reword the comment to be less misleading and a better
reflection of what happens.

Link: https://lkml.kernel.org/r/20220830020138.497063-1-apopple@nvidia.com
Fixes: ab09243aa95a ("mm/migrate.c: remove MIGRATE_PFN_LOCKED")
Signed-off-by: Alistair Popple <apopple@nvidia.com>
Reported-by: Peter Xu <peterx@redhat.com>
Acked-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/migrate_device.c