Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753934AbbLJXLo (ORCPT ); Thu, 10 Dec 2015 18:11:44 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:53451 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbbLJXLn (ORCPT ); Thu, 10 Dec 2015 18:11:43 -0500 From: Arnd Bergmann To: Detlef Vollmann Cc: linux-arm-kernel@lists.infradead.org, Andrew Lunn , Russell King , Jason Cooper , Benjamin Cama , linux-kernel@vger.kernel.org, Gregory CLEMENT , "Evgeniy A. Dushistov" , Sebastian Hesselbarth Subject: Re: [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform Date: Fri, 11 Dec 2015 00:10:55 +0100 Message-ID: <14967875.ttNXUbSTvS@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <5669F5F8.5010005@vollmann.ch> References: <1448466557-435335-1-git-send-email-arnd@arndb.de> <2992463.fVOGazvIkH@wuerfel> <5669F5F8.5010005@vollmann.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:7PuAKsRUjEM1TDp1djEtq6Zedr2Yx6M8H4Ejsn3bignDX8GCc4h 92wLbfzTBEa6wavikj/6DIQQmvmnCv0wJyd6tmvnULrdcFA8wTGO05jhSf19ZjOMlyBbErH tFJ5RNPXBBO6rMCIGMTrN7fQs3dvNxTffAP6CvRJ8TfhZgskOHWVvgV5sdI0FPLKAW4Xi9G Qdc4ihDx1tX78JT53E6AA== X-UI-Out-Filterresults: notjunk:1;V01:K0:rOmTHFhcEYg=:7n3htyCEECt23EmGUyZdIb YrZny6Fxd+KpkIP1DZTMjZIJnD1XrEX3NztW8dmjEWDNUumVvLN/q7W88ikzWR40xu7L/iupT oUWOwnVVTaVVpNEda9B2t1S3HOdLyXRFEuSEZ1COaHTfJ/8HHR8TMDo0cQ8NwpwyYJNZKilmH mrQaOU9DpjWr/sAbfiDhx/yeXNo73Ne1b0eCgqutJqhKYEr+xNdCLF9P1XbDW+L1jxw07ArhP stlu5CcnJufMfVSWpaKUz0C4q83dyWjosr2Zcj7zofEtzs1kq9DzLxCOiP0Z3ZS94rn65edib OS3GG45MADEP88XCIfVK+624g6Tfq9RlaOxrpyAzwsfs2YsDAI/gY+gXBvyYSaUJRWGCTiq9W wFv26S0APSB5nYjOfYMHs8jz0F1PyG4HOdjyNLVkLdYINxKjQ/e0xAdrWQrg6ylohc4ut2Ou1 a7vz6ER23SKgQCsj4z9IApds361/Tuj+0ZTsdgF0k/kEsNot/wkYR8tx7W+52HntBgTolcYwG 56YNdAmzQaTJTyWIQBuSjfSltEEhuIP8r0k2W+OvV6iZETOLNPyI/4PuEAnXS3KOHQHBuZA8A a+mOcPEYF3ajdc/pKLCNHJCwFIxedH0zuaq2B3FHsojansIcudHsPedrRIWTWLmc6QJrlpdvY i+e9Mt0A9BzHPxboaYW2hvJlBKZCsnUcCjtoVz3ns5rb1MypdePNwLkPpPJo3QuEFdUaB2OWX y0nPAjHjq0MGXX+5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6119 Lines: 191 On Thursday 10 December 2015 23:00:24 Detlef Vollmann wrote: > On 12/10/15 22:29, Arnd Bergmann wrote: > > On Thursday 10 December 2015 22:14:25 Detlef Vollmann wrote: > >> On 12/10/15 21:59, Arnd Bergmann wrote: > > It may also be worth investigating what has made CONFIG_OF so costly, > Probably because too much is done at runtime and too few things can > be fixed at build time. > > > maybe we can reduce this a bit again. > Probably not without turning the wheel backward :-( > > So for the test: yes it works, but I'm unhappy with it. I'm not too happy about adding 80kb to the uncompressed kernel image either. I've spent some more time now trying to find where we added the bloat. It's mainly in drivers, not in arch specific code, a kilobyte here and there eventually adds up, but the largest portion with a little over 50% of the total diff is drivers/of. I don't expect to find a lot of low-hanging fruit there. For reference, see the diff of 'size -A' below. Arnd -orion5x_defconfig-dt/arch/arm/kernel/built-in.o : +orion5x_defconfig-nodt/arch/arm/kernel/built-in.o : -- -Total 48034 +Total 46863 -orion5x_defconfig-dt/arch/arm/mm/built-in.o : +orion5x_defconfig-nodt/arch/arm/mm/built-in.o : -- -Total 43680 +Total 43672 -orion5x_defconfig-dt/arch/arm/plat-orion/built-in.o : +orion5x_defconfig-nodt/arch/arm/plat-orion/built-in.o : -- -Total 22131 +Total 22103 -orion5x_defconfig-dt/drivers/ata/built-in.o : +orion5x_defconfig-nodt/drivers/ata/built-in.o : -Total 160244 +Total 159524 -orion5x_defconfig-dt/drivers/base/built-in.o : +orion5x_defconfig-nodt/drivers/base/built-in.o : -- -Total 111366 +Total 109090 -orion5x_defconfig-dt/drivers/bus/built-in.o : +orion5x_defconfig-nodt/drivers/bus/built-in.o : -Total 10151 +Total 8120 -orion5x_defconfig-dt/drivers/clk/built-in.o : +orion5x_defconfig-nodt/drivers/clk/built-in.o : -- -Total 35514 +Total 29469 -orion5x_defconfig-dt/drivers/crypto/built-in.o : +orion5x_defconfig-nodt/drivers/crypto/built-in.o : -- -Total 8712 +Total 8552 -orion5x_defconfig-dt/drivers/dma/built-in.o : +orion5x_defconfig-nodt/drivers/dma/built-in.o : -- -Total 18939 +Total 16186 -orion5x_defconfig-dt/drivers/gpio/built-in.o : +orion5x_defconfig-nodt/drivers/gpio/built-in.o : -- -Total 26663 +Total 19142 -orion5x_defconfig-dt/drivers/i2c/built-in.o : +orion5x_defconfig-nodt/drivers/i2c/built-in.o : -- -Total 25772 +Total 23778 -orion5x_defconfig-dt/drivers/input/built-in.o : +orion5x_defconfig-nodt/drivers/input/built-in.o : -- -Total 39847 +Total 38531 -orion5x_defconfig-dt/drivers/leds/built-in.o : +orion5x_defconfig-nodt/drivers/leds/built-in.o : -- -Total 10436 +Total 10372 -orion5x_defconfig-dt/drivers/misc/built-in.o : +orion5x_defconfig-nodt/drivers/misc/built-in.o : -- -Total 3163 +Total 1939 -orion5x_defconfig-dt/drivers/mtd/built-in.o : +orion5x_defconfig-nodt/drivers/mtd/built-in.o : -- -Total 162074 +Total 157383 -orion5x_defconfig-dt/drivers/net/built-in.o : +orion5x_defconfig-nodt/drivers/net/built-in.o : -- -Total 50038 +Total 46757 -orion5x_defconfig-dt/drivers/of/built-in.o : +orion5x_defconfig-nodt/drivers/of/built-in.o : -- -Total 46444 +Total 0 -orion5x_defconfig-dt/drivers/pci/built-in.o : +orion5x_defconfig-nodt/drivers/pci/built-in.o : -- -Total 115926 +Total 115352 -orion5x_defconfig-dt/drivers/perf/built-in.o : +orion5x_defconfig-nodt/drivers/perf/built-in.o : -- -Total 4796 +Total 4202 -orion5x_defconfig-dt/drivers/phy/built-in.o : +orion5x_defconfig-nodt/drivers/phy/built-in.o : -- -Total 5529 +Total 4909 -orion5x_defconfig-dt/drivers/rtc/built-in.o : +orion5x_defconfig-nodt/drivers/rtc/built-in.o : -- -Total 35840 +Total 35024 -orion5x_defconfig-dt/drivers/tty/built-in.o : +orion5x_defconfig-nodt/drivers/tty/built-in.o : -- -Total 125096 +Total 119738 -orion5x_defconfig-dt/drivers/usb/built-in.o : +orion5x_defconfig-nodt/drivers/usb/built-in.o : -- -Total 251268 +Total 250498 -- 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/