aboutsummaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 28c6cf96d3c4..f5a6966b7eb0 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -527,6 +527,8 @@ static int try_to_unmap_one(struct page *page, struct vm_area_struct *vma)
527 * If the page is mlock()d, we cannot swap it out. 527 * If the page is mlock()d, we cannot swap it out.
528 * If it's recently referenced (perhaps page_referenced 528 * If it's recently referenced (perhaps page_referenced
529 * skipped over this mm) then we should reactivate it. 529 * skipped over this mm) then we should reactivate it.
530 *
531 * Pages belonging to VM_RESERVED regions should not happen here.
530 */ 532 */
531 if ((vma->vm_flags & (VM_LOCKED|VM_RESERVED)) || 533 if ((vma->vm_flags & (VM_LOCKED|VM_RESERVED)) ||
532 ptep_clear_flush_young(vma, address, pte)) { 534 ptep_clear_flush_young(vma, address, pte)) {