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 6acf612fdd99..471b0526b876 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1585,6 +1585,10 @@ void __init page_alloc_init_late(void) | |||
1585 | /* Reinit limits that are based on free pages after the kernel is up */ | 1585 | /* Reinit limits that are based on free pages after the kernel is up */ |
1586 | files_maxfiles_init(); | 1586 | files_maxfiles_init(); |
1587 | #endif | 1587 | #endif |
1588 | #ifdef CONFIG_ARCH_DISCARD_MEMBLOCK | ||
1589 | /* Discard memblock private memory */ | ||
1590 | memblock_discard(); | ||
1591 | #endif | ||
1588 | 1592 | ||
1589 | for_each_populated_zone(zone) | 1593 | for_each_populated_zone(zone) |
1590 | set_zone_contiguous(zone); | 1594 | set_zone_contiguous(zone); |