Is free_all_bootmem broken for ARM in Linux 4.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Experts,

I found that there some modifications to the initialization of memory
system for ARM. In particular, init_bootmem_node is no longer called.
But free_all_bootmem is still in use. In this sense, the global variable 
bdata_list is empty. I wonder how the new code is able to free pages 
to buddy system. Is this an issue?

The related code are listed below.

http://lxr.free-electrons.com/source/arch/arm/mm/init.c#L530 
http://lxr.free-electrons.com/source/mm/bootmem.c#L272

Please help. 
Thanks,

Yizheng

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]