free initrd / cma pages problems with memblock

Wang, Yalin Yalin.Wang at sonymobile.com
Wed Sep 3 02:57:57 PDT 2014


Hi 


I found the freed reserved memory by free_initrd_mem( ) and  cma_activate_area( )
Are still marked as reserved in /sys/kernel/debug/memblock/reserved .

I think This is not correct and not suitable for memory debug,
Why not also call memblock_free during these functions?
So that /sys/kernel/debug/memblock/reserved only mark really reserved memory as reserved .




Thanks.




More information about the linux-arm-kernel mailing list