Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp656422imm; Wed, 11 Jul 2018 08:46:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpexlxfLR8kyirnfnWjLTwTRq5U0ve7kKR5iHDshTD1pSGpJGL8k2xD3ANqibK5JKJRP7/O2 X-Received: by 2002:a63:1902:: with SMTP id z2-v6mr26605620pgl.86.1531324001674; Wed, 11 Jul 2018 08:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531324001; cv=none; d=google.com; s=arc-20160816; b=FN7U6rv6etsCrr+ckuF6fU1yI8D5ijxmMqNz7Opb7/JhPwPWWQW8ckJBOHLqAKWAry yHmO777u0EEbx5Idjl3ZCm+TNapx8qYnNbCETThUikckvZ1i8aQ+b91pkkMW5HY+Ar35 FrLP4hFo0LcEAIyyfRCUdcAtOdycF2IW9zM+aB56GGgYTdR8nVnRM5kYsBKUkBz4BoWi eW1g7wfrfID6lITMSITQBBKL8/A3R8EJJoS7rVZsiXdAOpIFsG0ifaxAdPNyK8t5YVvW EpJ5CBkhMDIVdDFL55E4Hg87HHGMQ/MIiYjbidRXv17iDU7mnkJcWJaUJjG33g2Y3+cR 70ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=SuV2RgMXtsFDr9YsO5D8IxTRhWziF/ZQhDgwiw6Xee0=; b=RaDGcsQETMHpuD3LRGQwEr/DOy7zYRKFXVUmR8K+Tx4/xoy3o6rhzDWbsaEAFKMyjb DV63+DA1YHenCLgld13W6T+eSXigJkp+dSuiGhhNo1B1FmRQG3nMWjn/f/9kmKdx4NRV XEa7Y56a4THbU1rQhRLFid+ktMIF4APVyoI4jfYFem/Qg6a+5jd6WGh7qlcXEg7SbxzG uVI8Yn0q4HENYqAZCZtch2HJSkVrDoYTkxbojcjkO17e8UtsLf/qxAlqrgemToLyWQOD kIeaZZQOjHBJKTwm6ahToU0LZWClgVGLFWf7vnw8aZTNiK+hoe58tRvG9cYQSuyWIfhE vd6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HgBgMQGi; 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 p3-v6si19704883pld.408.2018.07.11.08.46.25; Wed, 11 Jul 2018 08:46: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=HgBgMQGi; 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 S2387526AbeGKNNb (ORCPT + 99 others); Wed, 11 Jul 2018 09:13:31 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33237 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732966AbeGKNN3 (ORCPT ); Wed, 11 Jul 2018 09:13:29 -0400 Received: by mail-wm0-f67.google.com with SMTP id z6-v6so16111729wma.0 for ; Wed, 11 Jul 2018 06:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SuV2RgMXtsFDr9YsO5D8IxTRhWziF/ZQhDgwiw6Xee0=; b=HgBgMQGi84YNzvzkjG8SHs8x+mm2d55CGR4kynd6pAs4gIN80lzHGeABdFfPdYf7mL sM5fidzjQTKIDGaN3ONlpntIRjguxIBvjH+VYkyT7Mn7N01ma7+M3HBIIzAx5yErQkx5 LEdJtA0VeiwiGypF996C17UTfM8YIPP32YLGM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SuV2RgMXtsFDr9YsO5D8IxTRhWziF/ZQhDgwiw6Xee0=; b=TbaGYRboun8+6G5ExYh9+l1HL7xYZhlLCPQIbqYPfe1HpTH0sS4YBRb2SgXMtalcR0 NaNj8LNRaGzdjk+GwimhXVijwwKFbYS/sWmye0lXOMxohXIcl1/4CuBI8Q0gxicCjTOz PwNUuJ6aluddY746C4MW8DP5XgQ286NsZPmxl8N5MfdJL8cjiiGJUQpFRN77rjer4xMH 86stZELPFtwS7Et8B7HtclzDXMS9OhMQo+2T0ZS4eM3fONrzYzcxEEf0mLwoaSiEdgIZ xnO6fH4BpfaUNJvcZm5DIZqE2tYAXZSJMy1psrANFcYa2CLW41ASCbqohzM/4VuOk5Hf ae0A== X-Gm-Message-State: APt69E0dCOxl2Y9mDUMEznDOsskEIuCZOwKP+X/PcGOk6kMofRzObmRk AfNAWQsdF0qlobmtsNjx3z6Bmgn8 X-Received: by 2002:a1c:ae8d:: with SMTP id x135-v6mr16952204wme.20.1531314550627; Wed, 11 Jul 2018 06:09:10 -0700 (PDT) Received: from andrea.amarulasolutions.com (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id a13-v6sm2047283wrf.93.2018.07.11.06.09.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jul 2018 06:09:10 -0700 (PDT) From: Andrea Parri To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org Cc: Andrea Parri , Alan Stern , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Akira Yokosawa , Daniel Lustig , Jonathan Corbet Subject: [PATCH] doc: Replace smp_cond_acquire() with smp_cond_load_acquire() Date: Wed, 11 Jul 2018 15:08:50 +0200 Message-Id: <1531314530-11624-1-git-send-email-andrea.parri@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531216943-6382-1-git-send-email-andrea.parri@amarulasolutions.com> References: <1531216943-6382-1-git-send-email-andrea.parri@amarulasolutions.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Amend commit 1f03e8d2919270 ("locking/barriers: Replace smp_cond_acquire() with smp_cond_load_acquire()") by updating the documentation accordingly. Also remove some obsolete information related to the implementation. Signed-off-by: Andrea Parri Cc: Alan Stern Cc: Will Deacon Cc: Peter Zijlstra Cc: Boqun Feng Cc: Nicholas Piggin Cc: David Howells Cc: Jade Alglave Cc: Luc Maranget Cc: "Paul E. McKenney" Cc: Akira Yokosawa Cc: Daniel Lustig Cc: Jonathan Corbet --- Documentation/memory-barriers.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt index 0d8d7ef131e9a..c1d913944ad8b 100644 --- a/Documentation/memory-barriers.txt +++ b/Documentation/memory-barriers.txt @@ -471,8 +471,7 @@ And a couple of implicit varieties: operations after the ACQUIRE operation will appear to happen after the ACQUIRE operation with respect to the other components of the system. ACQUIRE operations include LOCK operations and both smp_load_acquire() - and smp_cond_acquire() operations. The later builds the necessary ACQUIRE - semantics from relying on a control dependency and smp_rmb(). + and smp_cond_load_acquire() operations. Memory operations that occur before an ACQUIRE operation may appear to happen after it completes. -- 2.7.4