free initrd / cma pages problems with memblock

From: Wang, Yalin
Date: Wed Sep 03 2014 - 06:03:51 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/