]> err.no Git - linux-2.6/blobdiff - mm/page_alloc.c
[PATCH] shmem_populate: avoid an useless check, and some comments
[linux-2.6] / mm / page_alloc.c
index 620aa11b24ebf3efe857e860de351923382b67e5..d157dae8c9f3fa068206816f234f89dcfad5a5a5 100644 (file)
@@ -1909,7 +1909,7 @@ static void __init free_area_init_core(struct pglist_data *pgdat,
                zone->nr_scan_inactive = 0;
                zone->nr_active = 0;
                zone->nr_inactive = 0;
-               atomic_set(&zone->reclaim_in_progress, -1);
+               atomic_set(&zone->reclaim_in_progress, 0);
                if (!size)
                        continue;