aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 4c76188b1681..d0432e44f77d 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2405,6 +2405,7 @@ static void __meminit free_area_init_core(struct pglist_data *pgdat,
2405 zone->spanned_pages = size; 2405 zone->spanned_pages = size;
2406 zone->present_pages = realsize; 2406 zone->present_pages = realsize;
2407#ifdef CONFIG_NUMA 2407#ifdef CONFIG_NUMA
2408 zone->node = nid;
2408 zone->min_unmapped_pages = (realsize*sysctl_min_unmapped_ratio) 2409 zone->min_unmapped_pages = (realsize*sysctl_min_unmapped_ratio)
2409 / 100; 2410 / 100;
2410 zone->min_slab_pages = (realsize * sysctl_min_slab_ratio) / 100; 2411 zone->min_slab_pages = (realsize * sysctl_min_slab_ratio) / 100;