[HMM-v25 15/19] mm/migrate: migrate_vma() unmap page from vma while collecting pages

2017-08-16 Thread Jérôme Glisse
Common case for migration of virtual address range is page are map only once inside the vma in which migration is taking place. Because we already walk the CPU page table for that range we can directly do the unmap there and setup special migration swap entry. Signed-off-by: Jérôme Glisse

[HMM-v25 15/19] mm/migrate: migrate_vma() unmap page from vma while collecting pages

2017-08-16 Thread Jérôme Glisse
Common case for migration of virtual address range is page are map only once inside the vma in which migration is taking place. Because we already walk the CPU page table for that range we can directly do the unmap there and setup special migration swap entry. Signed-off-by: Jérôme Glisse