Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus movingomap_devices to mach-omap2)

From: Grant Likely
Date: Tue Nov 06 2012 - 15:50:28 EST


On Tue, Nov 6, 2012 at 8:45 PM, Grant Likely <grant.likely@xxxxxxxxxxxx> wrote:
> The back of a napkin calculation indicates that on this platform
> /proc/devicetree costs 76kB and /sys/device-tree costs 60kb. I'm happy
> to see that using /sys instead of /proc appears to be slightly cheaper
> which makes it easier to justify the change. The diffstat makes me
> even happier:
>
> arch/arm/plat-omap/Kconfig | 1 -
> arch/powerpc/platforms/pseries/dlpar.c | 23 -----------
> arch/powerpc/platforms/pseries/reconfig.c | 40 ------------------
> drivers/of/Kconfig | 8 ----
> drivers/of/base.c | 116
> ++++++++++++++++++++++++++++------------------------
> drivers/of/fdt.c | 5 ++-
> fs/proc/Makefile | 1 -
> fs/proc/proc_devtree.c | 13 +-----
> fs/proc/root.c | 4 +-
> include/linux/of.h | 35 ++++++++++++----
> include/linux/proc_fs.h | 16 --------
> include/linux/string.h | 11 +++++
> 12 files changed, 107 insertions(+), 166 deletions(-)

Make that 96 insertions. I got an extra patch caught up in that diffstat.

g.
--
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/