When migrating the special zero page, migrate_vma_pages() calls mmu_notifier_invalidate_range_start() before replacing the zero page PFN in the CPU page tables. This is unnecessary since the range was invalidated in migrate_vma_setup() and the page table entry is checked to be sure it hasn't changed between migrate_vma_setup() and migrate_vma_pages(). Therefore, remove the redundant invalidation. DKIM-Signature: v a
- [PATCH v4 0/6] mm/migrate: avoid device private invalidatio... Ralph Campbell
- [PATCH v4 2/6] mm/migrate: add a flags parameter to mi... Ralph Campbell
- [PATCH v4 5/6] mm/hmm/test: use the new migration inva... Ralph Campbell
- [PATCH v4 4/6] nouveau/svm: use the new migration inva... Ralph Campbell
- [PATCH v4 1/6] nouveau: fix storing invalid ptes Ralph Campbell
- [PATCH v4 6/6] mm/migrate: remove range invalidation i... Ralph Campbell
- [PATCH v4 3/6] mm/notifier: add migration invalidation... Ralph Campbell