Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932800AbbELJss (ORCPT ); Tue, 12 May 2015 05:48:48 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:35422 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752808AbbELJso (ORCPT ); Tue, 12 May 2015 05:48:44 -0400 Date: Tue, 12 May 2015 11:48:37 +0200 From: Ingo Molnar To: Denys Vlasenko Cc: Andrew Morton , Linus Torvalds , Thomas Graf , "David S. Miller" , Bart Van Assche , Peter Zijlstra , David Rientjes , Oleg Nesterov , "Paul E. McKenney" , linux-kernel@vger.kernel.org, Hagen Paul Pfeifer Subject: Re: [PATCH] force inlining of spinlock ops Message-ID: <20150512094837.GC11477@gmail.com> References: <1431367042-31475-1-git-send-email-dvlasenk@redhat.com> <20150511151913.86c37cde9294700b4b0e26c4@linux-foundation.org> <5551CB8B.6060007@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5551CB8B.6060007@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 896 Lines: 23 * Denys Vlasenko wrote: > > Also, the inline_for_broken_gcc definition can be made dependent > > on particular gcc versions, which will allow us to easily keep an > > eye on the behaviour of later gcc versions. > > I've seen it on gcc-4.7.2 and gcc-4.9.2, so this behavior is not > limited to a narrow range of gcc versions. I'd say by now about half > of running kernels can easily be affected. Please do the measurements on x86 defconfig (with OPTIMIZE_FOR_SIZE and OPTIMIZE_INLINING enabled if necessary), to make sure we are truly getting a decrease in kernel size on common distro configs as well. Thanks, Ingo -- 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/