From: "Wang, Yalin" <Yalin.Wang@sonymobile.com>
To: "'Grant Likely'" <grant.likely@linaro.org>,
"'robh+dt@kernel.org'" <robh+dt@kernel.org>,
"'devicetree@vger.kernel.org'" <devicetree@vger.kernel.org>,
"'pawel.moll@arm.com'" <pawel.moll@arm.com>,
"'mark.rutland@arm.com'" <mark.rutland@arm.com>,
"'ijc+devicetree@hellion.org.uk'" <ijc+devicetree@hellion.org.uk>,
"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: RE: [RFC] fdt:free the fdt reserved memory
Date: Thu, 25 Sep 2014 11:03:33 +0800 [thread overview]
Message-ID: <35FD53F367049845BC99AC72306C23D103D6DB491635@CNBJMBX05.corpusers.net> (raw)
In-Reply-To: <20140924144520.697A8C40738@trevor.secretlab.ca>
> On Thu, 18 Sep 2014 17:25:12 +0800, "Wang, Yalin"
> <Yalin.Wang@sonymobile.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@sonymobile.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
next prev parent reply other threads:[~2014-09-25 3:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 9:25 Wang, Yalin
2014-09-24 14:45 ` Grant Likely
2014-09-25 3:03 ` Wang, Yalin [this message]
2014-12-04 6:56 ` Wang, Yalin
2014-12-04 10:04 ` Grant Likely
2014-12-04 10:23 ` Wang, Yalin
2014-12-04 12:45 ` Grant Likely
2014-12-05 2:38 ` Wang, Yalin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=35FD53F367049845BC99AC72306C23D103D6DB491635@CNBJMBX05.corpusers.net \
--to=yalin.wang@sonymobile.com \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®