Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932319AbbEOHUx (ORCPT ); Fri, 15 May 2015 03:20:53 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:50313 "EHLO e06smtp12.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754420AbbEOHUv (ORCPT ); Fri, 15 May 2015 03:20:51 -0400 Date: Fri, 15 May 2015 09:20:44 +0200 From: Heiko Carstens To: Denys Vlasenko Cc: Ingo Molnar , Linus Torvalds , Thomas Graf , "David S. Miller" , Bart Van Assche , Peter Zijlstra , David Rientjes , Andrew Morton , Oleg Nesterov , "Paul E. McKenney" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] force inlining of spinlock ops Message-ID: <20150515072043.GA4280@osiris> References: <1431367042-31475-1-git-send-email-dvlasenk@redhat.com> <20150512074443.GA724@gmail.com> <5551DDBD.9010803@redhat.com> <20150512114353.GA13699@gmail.com> <5551FC76.40000@redhat.com> <20150513101744.GA4318@gmail.com> <5553273B.6020405@redhat.com> <20150513104305.GB5113@gmail.com> <55535B0E.6020909@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55535B0E.6020909@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15051507-0009-0000-0000-000004276DF0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1137 Lines: 28 On Wed, May 13, 2015 at 04:09:18PM +0200, Denys Vlasenko wrote: > On 05/13/2015 12:43 PM, Ingo Molnar wrote: > > We only know that the net effect is +70 bytes. Does that come out of: > > > > - large fluctuations such as -1000-1000+1000+1070, which happens to > > net out into a small net number? > > > > - or does it come from much smaller fluctuations? > > > > So to make an informed decision we need to know those details. > > Fair enough. Let's investigate. > > I produced a list of functions with their sizes from each vmlinux, > and diffed them: > > $ nm --size-sort vmlinux | sed 's/\.[0-9]*.*/.NNN/' >vmlinux.nm > $ nm --size-sort vmlinuxO2.before | sed 's/\.[0-9]*.*/.NNN/' >vmlinuxO2.before.nm > $ diff -u vmlinuxO2.before.nm vmlinux.nm | grep -v '^[ @]' >vmlinux.nm.dif FWIW, scripts/bloat-o-meter is a nice tool to examine the size differences of two vmlinux images. -- 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/