Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7754545imm; Thu, 28 Jun 2018 08:51:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLoWthUBZa+ez6VU1TeF5lr8dNBZ2UpefWNoPDSm4YXeKGYDZbKHdpC9YDwWjpFF6dVuFE7 X-Received: by 2002:a63:a44a:: with SMTP id c10-v6mr9161520pgp.198.1530201101073; Thu, 28 Jun 2018 08:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530201101; cv=none; d=google.com; s=arc-20160816; b=fX0rOM8EGB6+d6mCCtFYHSKm26TtgVmeeAcdTFCZlIB3gd5AL7vwyaK1VwsiQU+f5g db3HaIbgLRWHB+0WaigX9MMMeYfxqXf4AvKgXg6opKw7D52IDSWiGFMebd/eSA+fZt2T KHIXUh3jswig74qua5PvJMCko6Wh/1UWkd9h9clS+k7hJIm3ecFYP8YAUNud1syoYRXj kgtGYmKZNGhexN2ASkVB101UKFfoTO5pfrIbycOm0UxviFzUYFns+Qv50MqNsZAdCeZT 2HI5YFBKTNUV/czt3DCOWoo5eBiY2Crw3L5Ydi467QlnTX9rcgJ85ttssHDh4wpga4lI BmOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=N3BTJW3nHPZMWOGJqDD/3n0ik4XqJVhK5JN37vUASO8=; b=GXhxp2laOwhzB4eWhONucDm08MLCYD2hZEMj0CTgrISbSTKPmayNH8Ocfs8QSOR5RN C8RIyzs+xwdrXjD5iGjPDhT1a6Tfs4TaLBtb3qievJBMTGkCUcfutJ6wO+WPfB3Y9LL0 RgE4qnIXCYddQOIax/eclj6fMLpFgQCDU5oY744OOcKjbvgKDw0E9msaij9jOkmac+yv nTk6mHo4oOC9xggUcfSwDEMt2OBx1Rr3o9I3nBdveXgASn3Ossb+BXUGeqd4TJp61b9A H5e+dlvmS+c7ctVr7zhgSHqZDRaHaOf07jI0rsuEaSANtZfWtVO+5rqqYSP6xLm0S5+s y0Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HH7FE9tx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z73-v6si6115693pgd.484.2018.06.28.08.51.26; Thu, 28 Jun 2018 08:51:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HH7FE9tx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934511AbeF1Miz (ORCPT + 99 others); Thu, 28 Jun 2018 08:38:55 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37559 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932235AbeF1Miy (ORCPT ); Thu, 28 Jun 2018 08:38:54 -0400 Received: by mail-wm0-f68.google.com with SMTP id n17-v6so8370297wmh.2 for ; Thu, 28 Jun 2018 05:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=N3BTJW3nHPZMWOGJqDD/3n0ik4XqJVhK5JN37vUASO8=; b=HH7FE9txd+9IpJ3yFPnPDVHDxZoNUYhd0CWhwESMnCGjy3nVDW5+Gu7wRh/0AkTHx8 3lkm0wNGg0S8OUDKnogu8a9/1ZFz+lwCms8ix7cKa2O+O8aE+HPUNc/b+7f/3uvQmS5A FHZBkbVJr718veLvJ1SwjGs1hplnD2JDD8AFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=N3BTJW3nHPZMWOGJqDD/3n0ik4XqJVhK5JN37vUASO8=; b=jHzTK5xAIinOlxEwitpA9PbxPoTVkrot1JoyeFHRUUW5i2djGvvf5zmG7/B0qVlENB PF40jpJJqHfL4H8q0knblSfhVfpCRufd2ipUqs9tTzJyAzAxlRs+TsRfpOq5sJ/6CFz0 8ZxyyYh+BwsPfhQi28jtAmEDcmTSFZRIn+03ahIR/V94NuPKvmzX+nV1kTiMgm8suopq 635gqEv8O94g5bRn4sJlpgU6E/vwxPThdkwisVtcgJiTwtn16UCqwNY7yJLRdyFk8seD M+W2yr75/twW38/jxleJX57bArDexjW9nqnhLZkiKu2suEAz4qgSeuhSBiJvpiLQuoZJ EPSA== X-Gm-Message-State: APt69E2WEKEeQa60w97gtKGrWdMFCDT9Sw74RostnE+LrmrSnGzl62Sk qcfBzRavZqN71+bBPXvLzhg6Gg== X-Received: by 2002:a1c:d045:: with SMTP id h66-v6mr8022467wmg.101.1530189533008; Thu, 28 Jun 2018 05:38:53 -0700 (PDT) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id 132-v6sm12186723wmr.33.2018.06.28.05.38.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 05:38:52 -0700 (PDT) Date: Thu, 28 Jun 2018 14:38:45 +0200 From: Andrea Parri To: Mark Rutland Cc: linux-kernel@vger.kernel.org, akiyks@gmail.com, boqun.feng@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, npiggin@gmail.com, paulmck@linux.vnet.ibm.com, peterz@infradead.org, stern@rowland.harvard.edu, will.deacon@arm.com Subject: Re: [PATCH 0/2] tools/memory-model: remove ACCESS_ONCE() Message-ID: <20180628123845.GA14456@andrea> References: <20180628123347.52963-1-mark.rutland@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180628123347.52963-1-mark.rutland@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 28, 2018 at 01:33:45PM +0100, Mark Rutland wrote: > Since commit: > > b899a850431e2dd0 ("compiler.h: Remove ACCESS_ONCE()") > > ... there has been no definition of ACCESS_ONCE() in the kernel tree, > and it has been necessary to use READ_ONCE() or WRITE_ONCE() instead. > > However, since then the kernel memory model was added to the Linux tree, > sporting new instances of ACCESS_ONCE() in examples and in the memory > model itself. > > These patches remove the new instances of ACCESS_ONCE() for consistency > with the contemporary codebase. > > Thanks, > Mark. > > Mark Rutland (2): > tools/memory-model: remove ACCESS_ONCE() from recipes > tools/memory-model: remove ACCESS_ONCE() from model For the series: Acked-by: Andrea Parri Cheers, Andrea > > tools/memory-model/Documentation/recipes.txt | 4 ++-- > tools/memory-model/linux-kernel.bell | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > -- > 2.11.0 >