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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <35FD53F367049845BC99AC72306C23D103D6DB491635@CNBJMBX05.corpusers.net>
Date:	Thu, 25 Sep 2014 11:03:33 +0800
From:	"Wang, Yalin" <Yalin.Wang@...ymobile.com>
To:	'Grant Likely' <grant.likely@...aro.org>,
	"'robh+dt@...nel.org'" <robh+dt@...nel.org>,
	"'devicetree@...r.kernel.org'" <devicetree@...r.kernel.org>,
	"'pawel.moll@....com'" <pawel.moll@....com>,
	"'mark.rutland@....com'" <mark.rutland@....com>,
	"'ijc+devicetree@...lion.org.uk'" <ijc+devicetree@...lion.org.uk>,
	"'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>
Subject: RE: [RFC] fdt:free the fdt reserved memory

> On Thu, 18 Sep 2014 17:25:12 +0800, "Wang, Yalin"
> <Yalin.Wang@...ymobile.com> wrote:
> > This patch make some change to unflatten_dt_node(), make sure the
> > device_node don't reference to fdt raw blob memory, so that we can
> > free the raw blob reserved memory after initcalls.
> >
> > Signed-off-by: Yalin Wang <yalin.wang@...ymobile.com>
> 
> Do you have any measurements showing a change in available memory before
> and after the patch?
> 
> g.
> 

I test it on ARM,
Fdt is 164K,
<6>[    5.134319] Freeing fdt memory: 164K


Before this patch, the total memory of kernel is,
MemTotal:         883224 kB

After apply this patch,
MemTotal:         883236 kB

We can get more 12KB memory.

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