Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1604043ybk; Thu, 14 May 2020 13:09:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWws9sLs+bylfDWbXrssGwcrEo0MDt6U8b80rl1+39eQbUzia8QjYWNh7L7+obbeJAGnMC X-Received: by 2002:a17:906:eda3:: with SMTP id sa3mr5433987ejb.253.1589486962681; Thu, 14 May 2020 13:09:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589486962; cv=none; d=google.com; s=arc-20160816; b=l7VKzYUeOQfLr5GgK5jaCsLNRW9ZyPJlGA69MV+pivQMmnwPoR+QltYsDcRp3OsuAC g/U0RQfoabotdzWkICJSRUYfQ49SEvB44XWTu23RRridoILp/jUZBKKvwkY4oCPoq+6G HH0/8fUV+kJQpkni40uWpYxZ60iBEo2MmFmZZdjp8DFn/reXkh4HElxeyvrwTFWyprzD s6ZBcEPp+S+SVUfJmV+imfCu23a7A3QyLP+RPfNhAHKBbXWdqb+5o4U4p5Bg2vehD9ay zR3hUBeo+unqPMonZt/hQ1Z3C6EGCQBQsWzGXF2s2h9Inw32Z6kyN2PDJypJT0prt/JH Mzpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=20Akrnf09SkhY9NmwgYU9d6lUr/dSk3YdcaTmZe3eTQ=; b=Dxr4wk8vXFp7Wu0rh9MRx8Xtxv/C/QPNj6guHICc3XPhB3YS2bVmm+ytUR51wuky1X ORvTD2QiGRhzX/DjsFvYiGcASvQ4NIR4FrWXTw3JpOTlpNStl+xoSxKCeAeQH4pEMk8o fBGyrItu+KR15YzVnqpAANCcR/Cp2Dhs7Qy2To6bWZRrJbqf71HP5n5zwKhKlPWiziXW 0+td4TsvHvqOSx3WwDJUB+eu1SmMByqRmtjAedzRQru1WZRdkrKYZQDFT0cL2AXVQ7KD lO7KjuZfuam8YbpHD06M7o15paUTe1pUmvsN7/R2NQfmTNIhZ5BxBAC4EBbP2B7HCF1U whgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz27si2349608ejc.475.2020.05.14.13.08.54; Thu, 14 May 2020 13:09:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728199AbgENTh1 (ORCPT + 99 others); Thu, 14 May 2020 15:37:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726667AbgENTh0 (ORCPT ); Thu, 14 May 2020 15:37:26 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBEFCC061A0C for ; Thu, 14 May 2020 12:37:26 -0700 (PDT) Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jZJfV-0007qm-DB; Thu, 14 May 2020 21:37:21 +0200 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id BD80F1004CE; Thu, 14 May 2020 21:37:20 +0200 (CEST) From: Thomas Gleixner To: Marco Elver Cc: Peter Zijlstra , Will Deacon , kasan-dev , LKML , "Paul E. McKenney" , Ingo Molnar , Dmitry Vyukov Subject: Re: [PATCH v5 00/18] Rework READ_ONCE() to improve codegen In-Reply-To: References: <20200513124021.GB20278@willie-the-truck> <20200513165008.GA24836@willie-the-truck> <20200513174747.GB24836@willie-the-truck> <20200513212520.GC28594@willie-the-truck> <20200514110537.GC4280@willie-the-truck> <20200514142450.GC2978@hirez.programming.kicks-ass.net> <875zcyzh6r.fsf@nanos.tec.linutronix.de> Date: Thu, 14 May 2020 21:37:20 +0200 Message-ID: <87k11exq8f.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Marco Elver writes: > On Thu, 14 May 2020 at 17:09, Thomas Gleixner wrote: >> >> Peter Zijlstra writes: >> > On Thu, May 14, 2020 at 03:35:58PM +0200, Marco Elver wrote: >> >> Any preferences? >> > >> > I suppose DTRT, if we then write the Makefile rule like: >> > >> > KCSAN_SANITIZE := KCSAN_FUNCTION_ATTRIBUTES >> > >> > and set that to either 'y'/'n' depending on the compiler at hand >> > supporting enough magic to make it all work. >> > >> > I suppose all the sanitize stuff is most important for developers and >> > we tend to have the latest compiler versions anyway, right? >> >> Developers and CI/testing stuff. Yes we really should require a sane >> compiler instead of introducing boatloads of horrible workarounds all >> over the place which then break when the code changes slightly. > > In which case, let me prepare a series on top of -tip for switching at > least KCSAN to Clang 11. If that's what we'll need, I don't see a > better option right now. And for a change that might make this time GCC people look at their open bugs. :) /me mumbles jumplabels and goes back to juggle patches