diff options
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1252,7 +1252,7 @@ static int try_to_unmap_one(struct page *page, struct vm_area_struct *vma, | |||
1252 | 1252 | ||
1253 | out_unmap: | 1253 | out_unmap: |
1254 | pte_unmap_unlock(pte, ptl); | 1254 | pte_unmap_unlock(pte, ptl); |
1255 | if (ret != SWAP_FAIL) | 1255 | if (ret != SWAP_FAIL && TTU_ACTION(flags) != TTU_MUNLOCK) |
1256 | mmu_notifier_invalidate_page(mm, address); | 1256 | mmu_notifier_invalidate_page(mm, address); |
1257 | out: | 1257 | out: |
1258 | return ret; | 1258 | return ret; |