Merge "mm: process reclaim: skip locked vmas"
This commit is contained in:
commit
64b788384b
1 changed files with 3 additions and 0 deletions
|
@ -1518,6 +1518,9 @@ struct reclaim_param reclaim_task_anon(struct task_struct *task,
|
||||||
if (vma->vm_file)
|
if (vma->vm_file)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (vma->vm_flags & VM_LOCKED)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!rp.nr_to_reclaim)
|
if (!rp.nr_to_reclaim)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue