diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6d00f746c2fd..1bad301820c7 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1584,6 +1584,10 @@ void __init page_alloc_init_late(void) | |||
1584 | /* Reinit limits that are based on free pages after the kernel is up */ | 1584 | /* Reinit limits that are based on free pages after the kernel is up */ |
1585 | files_maxfiles_init(); | 1585 | files_maxfiles_init(); |
1586 | #endif | 1586 | #endif |
1587 | #ifdef CONFIG_ARCH_DISCARD_MEMBLOCK | ||
1588 | /* Discard memblock private memory */ | ||
1589 | memblock_discard(); | ||
1590 | #endif | ||
1587 | 1591 | ||
1588 | for_each_populated_zone(zone) | 1592 | for_each_populated_zone(zone) |
1589 | set_zone_contiguous(zone); | 1593 | set_zone_contiguous(zone); |