Messages in this thread | | | From | "Wang, Yalin" <> | Date | Thu, 25 Sep 2014 11:03:33 +0800 | Subject | RE: [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
| |