lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 3 Sep 2014 17:57:57 +0800
From:	"Wang, Yalin" <Yalin.Wang@...ymobile.com>
To:	"'linux@....linux.org.uk'" <linux@....linux.org.uk>,
	"'santosh.shilimkar@...com'" <santosh.shilimkar@...com>,
	"'grant.likely@...aro.org'" <grant.likely@...aro.org>,
	"'robh@...nel.org'" <robh@...nel.org>,
	"'akpm@...ux-foundation.org'" <akpm@...ux-foundation.org>,
	"'m.szyprowski@...sung.com'" <m.szyprowski@...sung.com>,
	"'lauraa@...eaurora.org'" <lauraa@...eaurora.org>,
	"'linux-arm-kernel@...ts.infradead.org'" 
	<linux-arm-kernel@...ts.infradead.org>,
	"'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>,
	"'m.szyprowski@...sung.com'" <m.szyprowski@...sung.com>,
	"'akpm@...ux-foundation.org'" <akpm@...ux-foundation.org>,
	"'iamjoonsoo.kim@....com'" <iamjoonsoo.kim@....com>,
	"'mina86@...a86.com'" <mina86@...a86.com>,
	"'aneesh.kumar@...ux.vnet.ibm.com'" <aneesh.kumar@...ux.vnet.ibm.com>,
	"'lauraa@...eaurora.org'" <lauraa@...eaurora.org>,
	"'gioh.kim@....com'" <gioh.kim@....com>,
	"'michael.opdenacker@...e-electrons.com'" 
	<michael.opdenacker@...e-electrons.com>,
	"'akinobu.mita@...il.com'" <akinobu.mita@...il.com>,
	"'linux-mm@...ck.org'" <linux-mm@...ck.org>,
	"'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>
Subject: free initrd / cma pages problems with memblock

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ