From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas Piggin Subject: Re: [PATCH 4/4] powerpc: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selected Date: Mon, 7 May 2018 19:53:14 +1000 Message-ID: <20180507195314.6711f3b8@roar.ozlabs.ibm.com> References: <20180420073414.23169-1-npiggin@gmail.com> <20180420073414.23169-5-npiggin@gmail.com> <20180420204104.6e22b136@roar.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: "Linuxppc-dev" To: Masahiro Yamada Cc: Mathieu Malaterre , linux-arch , Linux Kbuild mailing list , linuxppc-dev , Nicolas Pitre List-Id: linux-arch.vger.kernel.org On Mon, 7 May 2018 09:46:43 +0900 Masahiro Yamada wrote: > Hi Nicholas, > > 2018-04-20 19:41 GMT+09:00 Nicholas Piggin : > > On Fri, 20 Apr 2018 12:00:49 +0200 > > Mathieu Malaterre wrote: > > > >> On Fri, Apr 20, 2018 at 9:34 AM, Nicholas Piggin wrote: > >> > This requires further changes to linker script to KEEP some tables > >> > and wildcard compiler generated sections into the right place. This > >> > includes pp32 modifications from Christophe Leroy. > >> > > >> > When compiling powernv_defconfig with this option: > >> > > >> > text data bss dec filename > >> > 11827621 4810490 1341080 17979191 vmlinux > >> > 11752437 4598858 1338776 17690071 vmlinux.dcde > >> > > >> > Resulting kernel is almost 400kB smaller (and still boots). > >> > > >> > [ppc32 numbers here] > >> > >> ^^^ > >> > >> Do you want somebody else to provide those numbers ? > > > > If you have a booting kernel, yes some more numbers would be good. > > > > Thanks, > > Nick > > > > I applied this series because I want it to be more tested in linux-next. Thank you. > Some requests: > > - Could you provide information to replace '[ppc32 numbers here]'? > (or just remove it) Yes there were some numbers reported, I can give you an updated changelog. > - V2 is welcome if you have code improvement. > (I thought so from your comments) I'll see where it ended up and send you updated patches if necessary. Thanks, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f48.google.com ([74.125.83.48]:35257 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038AbeEGJx1 (ORCPT ); Mon, 7 May 2018 05:53:27 -0400 Date: Mon, 7 May 2018 19:53:14 +1000 From: Nicholas Piggin Subject: Re: [PATCH 4/4] powerpc: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selected Message-ID: <20180507195314.6711f3b8@roar.ozlabs.ibm.com> In-Reply-To: References: <20180420073414.23169-1-npiggin@gmail.com> <20180420073414.23169-5-npiggin@gmail.com> <20180420204104.6e22b136@roar.ozlabs.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Masahiro Yamada Cc: Mathieu Malaterre , linuxppc-dev , linux-arch , Nicolas Pitre , Linux Kbuild mailing list Message-ID: <20180507095314.yzgQ3uf0Ca6_ZJBmOSBvM3u-WWe2qHlBPRt84zTVP_0@z> On Mon, 7 May 2018 09:46:43 +0900 Masahiro Yamada wrote: > Hi Nicholas, > > 2018-04-20 19:41 GMT+09:00 Nicholas Piggin : > > On Fri, 20 Apr 2018 12:00:49 +0200 > > Mathieu Malaterre wrote: > > > >> On Fri, Apr 20, 2018 at 9:34 AM, Nicholas Piggin wrote: > >> > This requires further changes to linker script to KEEP some tables > >> > and wildcard compiler generated sections into the right place. This > >> > includes pp32 modifications from Christophe Leroy. > >> > > >> > When compiling powernv_defconfig with this option: > >> > > >> > text data bss dec filename > >> > 11827621 4810490 1341080 17979191 vmlinux > >> > 11752437 4598858 1338776 17690071 vmlinux.dcde > >> > > >> > Resulting kernel is almost 400kB smaller (and still boots). > >> > > >> > [ppc32 numbers here] > >> > >> ^^^ > >> > >> Do you want somebody else to provide those numbers ? > > > > If you have a booting kernel, yes some more numbers would be good. > > > > Thanks, > > Nick > > > > I applied this series because I want it to be more tested in linux-next. Thank you. > Some requests: > > - Could you provide information to replace '[ppc32 numbers here]'? > (or just remove it) Yes there were some numbers reported, I can give you an updated changelog. > - V2 is welcome if you have code improvement. > (I thought so from your comments) I'll see where it ended up and send you updated patches if necessary. Thanks, Nick