Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752178Ab2KFUuk (ORCPT ); Tue, 6 Nov 2012 15:50:40 -0500 Received: from mail-da0-f46.google.com ([209.85.210.46]:60006 "EHLO mail-da0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270Ab2KFUui (ORCPT ); Tue, 6 Nov 2012 15:50:38 -0500 MIME-Version: 1.0 In-Reply-To: References: <02FF5400-9F97-4B8A-AEF0-267B01C8099F@antoniou-consulting.com> From: Grant Likely Date: Tue, 6 Nov 2012 20:50:17 +0000 X-Google-Sender-Auth: fEiWtcmP-GjpxiyXx57Q6Lk9CAA Message-ID: Subject: Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2) To: Pantelis Antoniou Cc: Rob Herring , Deepak Saxena , Benjamin Herrenschmidt , Scott Wood , Tony Lindgren , Russ Dill , Felipe Balbi , Benoit Cousson , linux-kernel , Koen Kooi , Matt Porter , linux-omap@vger.kernel.org, Kevin Hilman , Paul Walmsley , devicetree-discuss@lists.ozlabs.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1525 Lines: 30 On Tue, Nov 6, 2012 at 8:45 PM, Grant Likely 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/