e1000: Omit private ndo_get_stats function
[linux-2.6-microblaze.git] / mm / swap_cgroup.c
index 310ac0b..ac6318a 100644 (file)
@@ -201,6 +201,8 @@ void swap_cgroup_swapoff(int type)
                        struct page *page = map[i];
                        if (page)
                                __free_page(page);
+                       if (!(i % SWAP_CLUSTER_MAX))
+                               cond_resched();
                }
                vfree(map);
        }