From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753507AbbE0Tok (ORCPT ); Wed, 27 May 2015 15:44:40 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:33531 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751952AbbE0Toi (ORCPT ); Wed, 27 May 2015 15:44:38 -0400 Date: Wed, 27 May 2015 12:44:33 -0700 From: Brian Norris To: Denys Vlasenko Cc: David Woodhouse , Dan Carpenter , Jingoo Han , Aaron Sierra , Artem Bityutskiy , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: cfi: Deiline large functions Message-ID: <20150527194348.GI27753@ld-irv-0074> References: <1431946720-32281-1-git-send-email-dvlasenk@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431946720-32281-1-git-send-email-dvlasenk@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 18, 2015 at 12:58:40PM +0200, Denys Vlasenko wrote: > With this .config: http://busybox.net/~vda/kernel_config, > after uninlining these functions have sizes and callsite counts > as follows: > > cfi_udelay(): 74 bytes, 26 callsites > cfi_send_gen_cmd(): 153 bytes, 95 callsites > cfi_build_cmd(): 274 bytes, 123 callsites > cfi_build_cmd_addr(): 49 bytes, 15 callsites > cfi_merge_status(): 230 bytes, 3 callsites > > Reduction in code size is about 50,000: > > text data bss dec hex filename > 85842882 22294584 20627456 128764922 7accbfa vmlinux.before > 85789648 22294616 20627456 128711720 7abfc28 vmlinux > > Signed-off-by: Denys Vlasenko > CC: Dan Carpenter > CC: Jingoo Han > CC: Brian Norris > CC: Aaron Sierra > CC: Artem Bityutskiy > CC: David Woodhouse > CC: linux-mtd@lists.infradead.org > CC: linux-kernel@vger.kernel.org Fixed the subject and applied to l2-mtd.git. For my reference, did you test this, or just compile test? Brian