diff options
-rw-r--r-- | mm/rmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1371,8 +1371,8 @@ static bool try_to_unmap_one(struct page *page, struct vm_area_struct *vma, | |||
1371 | * Note that the page can not be free in this function as call of | 1371 | * Note that the page can not be free in this function as call of |
1372 | * try_to_unmap() must hold a reference on the page. | 1372 | * try_to_unmap() must hold a reference on the page. |
1373 | */ | 1373 | */ |
1374 | mmu_notifier_range_init(&range, vma->vm_mm, vma->vm_start, | 1374 | mmu_notifier_range_init(&range, vma->vm_mm, address, |
1375 | min(vma->vm_end, vma->vm_start + | 1375 | min(vma->vm_end, address + |
1376 | (PAGE_SIZE << compound_order(page)))); | 1376 | (PAGE_SIZE << compound_order(page)))); |
1377 | if (PageHuge(page)) { | 1377 | if (PageHuge(page)) { |
1378 | /* | 1378 | /* |