linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* free initrd / cma pages problems with memblock
@ 2014-09-03  9:57 Wang, Yalin
  0 siblings, 0 replies; only message in thread
From: Wang, Yalin @ 2014-09-03  9:57 UTC (permalink / raw)
  To: 'linux@arm.linux.org.uk',
	'santosh.shilimkar@ti.com',
	'grant.likely@linaro.org', 'robh@kernel.org',
	'akpm@linux-foundation.org',
	'm.szyprowski@samsung.com',
	'lauraa@codeaurora.org',
	'linux-arm-kernel@lists.infradead.org',
	'linux-kernel@vger.kernel.org'

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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-03  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-03  9:57 free initrd / cma pages problems with memblock Wang, Yalin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox