RE: [RFC] fdt:free the fdt reserved memory
From: Wang, Yalin
Date: Wed Sep 24 2014 - 23:03:40 EST
> On Thu, 18 Sep 2014 17:25:12 +0800, "Wang, Yalin"
> <Yalin.Wang@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/