Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296AbbGMVMd (ORCPT ); Mon, 13 Jul 2015 17:12:33 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:45984 "EHLO mx1.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752845AbbGMVMb (ORCPT ); Mon, 13 Jul 2015 17:12:31 -0400 Date: Mon, 13 Jul 2015 23:12:27 +0200 (CEST) From: Hagen Paul Pfeifer Reply-To: Hagen Paul Pfeifer To: Denys Vlasenko Cc: Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Andrew Morton , Ingo Molnar , Peter Zijlstra , Markus Trippelsdorf , Thomas Gleixner , Linux Kernel Mailing List , Linus Torvalds Message-ID: <152440796.1623.1436821948088.JavaMail.open-xchange@ox1app> In-Reply-To: References: <1429565231-4609-1-git-send-email-hagen@jauu.net> <20150420215645.GC10191@pd.tnic> <20150421074212.GA25081@gmail.com> <20150421225723.GA5927@virgo.local> <20150422052441.GA395@x4> <20150422055848.GA3307@virgo.local> <20150422092040.GB395@x4> <20150422092850.GA24664@gmail.com> <131222735.1080.1436815216582.JavaMail.open-xchange@ox1app> Subject: Re: [PATCH RFC] x86: enforce inlining for atomics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Oxguard-PGPSign: False X-Mailer: Open-Xchange Mailer v7.6.2-Rev20 X-Originating-Client: open-xchange-appsuite Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 814 Lines: 22 > On July 13, 2015 at 11:06 PM Denys Vlasenko > wrote: > > Not *your* way. > I meant that I'll send patches to Ingo - I see that he agrees that > this worth fixing instead of waiting for a better compiler. Yeah, do it. Sorry it was not my intention to prevent you to fix this - not at all. Go on, *every* patch will make things better. > (Ideally, the compiler shouldn't do this, but gcc BZ comments > are not encouraging). Right, the inline heuristic - as Linus already noted - is quite bad for some cases (especially inline asm). Hagen -- 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/