mm: stop zeroing memory during allocation in vmemmap
[sfrench/cifs-2.6.git] / mm / page_alloc.c
index c37343ef2889e4e88ecec31c8c6b7dfb6738a129..39e847cd1484582b6e46ba6807688c789bce9953 100644 (file)
@@ -1168,6 +1168,7 @@ static void free_one_page(struct zone *zone,
 static void __meminit __init_single_page(struct page *page, unsigned long pfn,
                                unsigned long zone, int nid)
 {
+       mm_zero_struct_page(page);
        set_page_links(page, zone, nid, pfn);
        init_page_count(page);
        page_mapcount_reset(page);