]> git.ipfire.org Git - people/ms/linux.git/blobdiff - fs/proc/task_mmu.c
mm: handling Non-LRU pages returned by vm_normal_pages
[people/ms/linux.git] / fs / proc / task_mmu.c
index 751c19d5bfdd926cd8624a22660f5140772c5281..1d7fd832123b44c3469b505bdfaa80fb132b6329 100644 (file)
@@ -1795,7 +1795,7 @@ static struct page *can_gather_numa_stats(pte_t pte, struct vm_area_struct *vma,
                return NULL;
 
        page = vm_normal_page(vma, addr, pte);
-       if (!page)
+       if (!page || is_zone_device_page(page))
                return NULL;
 
        if (PageReserved(page))