|
@@ -321,7 +321,7 @@ static int page_referenced_anon(struct page *page,
|
|
|
* counting on behalf of references from different
|
|
|
* cgroups
|
|
|
*/
|
|
|
- if (mem_cont && !vm_match_cgroup(vma->vm_mm, mem_cont))
|
|
|
+ if (mem_cont && !mm_match_cgroup(vma->vm_mm, mem_cont))
|
|
|
continue;
|
|
|
referenced += page_referenced_one(page, vma, &mapcount);
|
|
|
if (!mapcount)
|
|
@@ -382,7 +382,7 @@ static int page_referenced_file(struct page *page,
|
|
|
* counting on behalf of references from different
|
|
|
* cgroups
|
|
|
*/
|
|
|
- if (mem_cont && !vm_match_cgroup(vma->vm_mm, mem_cont))
|
|
|
+ if (mem_cont && !mm_match_cgroup(vma->vm_mm, mem_cont))
|
|
|
continue;
|
|
|
if ((vma->vm_flags & (VM_LOCKED|VM_MAYSHARE))
|
|
|
== (VM_LOCKED|VM_MAYSHARE)) {
|