coredump: add support for exe_file in core name
[deliverable/linux.git] / mm / memory-failure.c
index 341341b2b47b31304d26a3ee7b197cd2cd1b9a30..5c8f7e08928d5faba209a0392b4b2befe17a67e3 100644 (file)
@@ -241,10 +241,9 @@ void shake_page(struct page *p, int access)
                do {
                        struct shrink_control shrink = {
                                .gfp_mask = GFP_KERNEL,
-                               .nr_scanned = 1000,
                        };
 
-                       nr = shrink_slab(&shrink, 1000);
+                       nr = shrink_slab(&shrink, 1000, 1000);
                        if (page_count(p) == 1)
                                break;
                } while (nr > 10);
This page took 0.024155 seconds and 5 git commands to generate.