Merge tag 'configfs-for-4.8' of git://git.infradead.org/users/hch/configfs
[deliverable/linux.git] / mm / mempolicy.c
index fe90e5051012aa55db9cd13b4e97f84d6d20016f..d8c4e38fb5f4be1d9748dc77f214c8a285374f8d 100644 (file)
@@ -531,7 +531,7 @@ retry:
                nid = page_to_nid(page);
                if (node_isset(nid, *qp->nmask) == !!(flags & MPOL_MF_INVERT))
                        continue;
-               if (PageTransCompound(page) && PageAnon(page)) {
+               if (PageTransCompound(page)) {
                        get_page(page);
                        pte_unmap_unlock(pte, ptl);
                        lock_page(page);
@@ -962,7 +962,7 @@ static void migrate_page_add(struct page *page, struct list_head *pagelist,
        if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(page) == 1) {
                if (!isolate_lru_page(page)) {
                        list_add_tail(&page->lru, pagelist);
-                       inc_zone_page_state(page, NR_ISOLATED_ANON +
+                       inc_node_page_state(page, NR_ISOLATED_ANON +
                                            page_is_file_cache(page));
                }
        }
This page took 0.033484 seconds and 5 git commands to generate.