Merge "mm: process reclaim: skip locked vmas"

This commit is contained in:
Linux Build Service Account 2017-06-01 01:53:21 -07:00 committed by Gerrit - the friendly Code Review server
commit 64b788384b

View file

@ -1518,6 +1518,9 @@ struct reclaim_param reclaim_task_anon(struct task_struct *task,
if (vma->vm_file)
continue;
if (vma->vm_flags & VM_LOCKED)
continue;
if (!rp.nr_to_reclaim)
break;