Revert "init: defer free large memblock to Buddy allocator when CONFIG_ROCKCHIP_THUNDER_BOOT=y"
This reverts commit b6cd53a3a2.
Change-Id: I8c0933ec1b01edfc16da05a43441a775a8237a39
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -24,10 +24,6 @@ extern unsigned long max_pfn;
|
||||
*/
|
||||
extern unsigned long long max_possible_pfn;
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT_DEFER_FREE_MEMBLOCK
|
||||
extern int defer_free_memblock(void *unused);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* enum memblock_flags - definition of memory region attributes
|
||||
* @MEMBLOCK_NONE: no special request
|
||||
|
||||
@@ -1753,10 +1753,6 @@ static noinline void __init kernel_init_freeable(void)
|
||||
sched_init_smp();
|
||||
|
||||
workqueue_init_topology();
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT_DEFER_FREE_MEMBLOCK
|
||||
kthread_run(defer_free_memblock, NULL, "defer_mem");
|
||||
#endif
|
||||
|
||||
padata_init();
|
||||
page_alloc_init_late();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user