lkml.org 
[lkml]   [2014]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [RFC] fdt:free the fdt reserved memory
> 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


\
 
 \ /
  Last update: 2014-09-25 05:41    [W:0.063 / U:3.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site