From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99413C433EF for ; Sat, 2 Oct 2021 14:29:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C0096124C for ; Sat, 2 Oct 2021 14:29:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233383AbhJBObV (ORCPT ); Sat, 2 Oct 2021 10:31:21 -0400 Received: from netrider.rowland.org ([192.131.102.5]:59175 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S233372AbhJBObV (ORCPT ); Sat, 2 Oct 2021 10:31:21 -0400 Received: (qmail 533212 invoked by uid 1000); 2 Oct 2021 10:29:33 -0400 Date: Sat, 2 Oct 2021 10:29:33 -0400 From: Alan Stern To: Segher Boessenkool Cc: "Paul E. McKenney" , Mathieu Desnoyers , will@kernel.org, Peter Zijlstra , linux-kernel@vger.kernel.org, Linus Torvalds , parri.andrea@gmail.com, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, akiyks@gmail.com, linux-toolchains@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [RFC PATCH] LKMM: Add ctrl_dep() macro for control dependency Message-ID: <20211002142933.GA532982@rowland.harvard.edu> References: <20210928211507.20335-1-mathieu.desnoyers@efficios.com> <20210929214703.GG22689@gate.crashing.org> <20210929235700.GF880162@paulmck-ThinkPad-P17-Gen-1> <20211001191008.GA16711@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211001191008.GA16711@gate.crashing.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Fri, Oct 01, 2021 at 02:10:08PM -0500, Segher Boessenkool wrote: > Compilers understand you want exactly what you wrote. If you write > something other than what you want, you only will get what you want by > pure luck. The problem is that at times you _can't_ write what you want because the language offers no way to express it. Alan