Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1505857imm; Tue, 10 Jul 2018 03:03:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeZgkLT1MsD2ke9NlBvzAqC1T+CcV8+FHiTIYPozJupGtKle9JPIjmLi4L97mJMLsk1Kvdg X-Received: by 2002:a62:4141:: with SMTP id o62-v6mr24780300pfa.111.1531217035503; Tue, 10 Jul 2018 03:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531217035; cv=none; d=google.com; s=arc-20160816; b=SU06OGSGFWZiwyC/jEZ9BH+Dwow5s2fp78+Q6+SIyNYvaGoSVq7J7cOSCYcBbKdtSn OlS2FEaaj/H2lOKGXOWH8jDPB5Ns92TLfogTEww+Ml+pAXcII27cgocT+ReuT7yyjklN Mm1CbFxOcrCpK92VEvIOdr1Vp1ZVRmNvZGSxzcoEk3jzEgpztoujtYKMogktv4tRuS5J wbXP7W/D6AHrM8vhXnTg2pbPdCWtbWBQVr9YTLmnAgdWzBFeYok5wP7qm5A8gzMN/TwB q3yCrebMFKvsI4WrMrBJFJPiWM42q7DnMVYN4VPl1roq+zlxhAwXIPFbaLovg2WFd6dN jwaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=z55mf4Qbs2R5uhvsiQ7bknoEjOY0CV4eH8JkMTeyJoE=; b=h1mgDdfeCNV6ESv+C8cXFOeJJS+6vGM9ZC+iSBoRJ2FUmCKqGwkKg7vy9tnnLIbk/N gw3x6HtSjgZIrguYTJnoFP90NkikhJ1RKnlHe5QqMQ/DN/mcW3VzgR5GdlwfplESbtij UomIH6irxFAfYl4GsIl8mp2ka9RNFVyth3528VxQsBezhn+9dLL9r2GBz6B+gSDjZeww HwPNedEULRriEEd+Z1mdKjMiENfnVT8r+Ko6KypMCcw73byQtrzx1lxDrtZ0QwmFxDid 3I+cqTayqRD4dBuG7lyE4uAXcvZGBLjRvGNF4F527BwbdHzf+BIL5D6C1WHYdSNYIawm MkCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="d8m5/QEC"; 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 k90-v6si17833694pfa.77.2018.07.10.03.03.31; Tue, 10 Jul 2018 03:03:55 -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="d8m5/QEC"; 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 S933248AbeGJKCp (ORCPT + 99 others); Tue, 10 Jul 2018 06:02:45 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34519 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933187AbeGJKCm (ORCPT ); Tue, 10 Jul 2018 06:02:42 -0400 Received: by mail-wm0-f67.google.com with SMTP id s13-v6so12193690wmc.1 for ; Tue, 10 Jul 2018 03:02:42 -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; bh=z55mf4Qbs2R5uhvsiQ7bknoEjOY0CV4eH8JkMTeyJoE=; b=d8m5/QECDRY5b0idXHq8QMYlDv9XuJBeeXVYmhbS7+UW3Qb6jv+GaBRRz6YZPQKOJL ypm/n4iufq6Ed3SOtv9EJJ08H09FTzr8ulxxnqWPRZeTU+OsRihXNmbM8yavOZwNDGrI JvSJymAdzqDPlW/zMR1PiBPo9mHv39fKq+YyE= 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; bh=z55mf4Qbs2R5uhvsiQ7bknoEjOY0CV4eH8JkMTeyJoE=; b=qYBKAQ8UgexsbQ4LYuhybfwzXe2+/z1OtZ3oWmRsZ9+wDuUT2Offht/+nwdf451m4y AlT02iE7oD7sMHDnK6qYZtvV8qZUXQvkVwiJItHTZIaqEvsYegJ0wIDrNZX1jJOpwEr7 9TXfiUradKUvCOOPKSr4NNLpHqhPCGkjSsHPRaX0QccrcdE4lUdLJenmU8mGgyH/c5JA FGpP2D+h7I46/hOLKAej1b3sieupRqSQPhd8fla9z2GSDuRVQY5pXzJwCPr+gE5mkOqz z3VSbaCky0RiBXzyPp2gKNPEn3ktd5kBG9eB2XsvMJEdBQUQTsVAtQcNn8qqRrdN5jHn MPQQ== X-Gm-Message-State: APt69E0wBBkTK8RldmAIXTZSEDX+OnihYcd4I31N46zSx9PcQUaSv1jC IVkHD5q+ESGPA12NeQqDUldckQ+h X-Received: by 2002:a7b:c01a:: with SMTP id c26-v6mr14981556wmb.33.1531216961155; Tue, 10 Jul 2018 03:02:41 -0700 (PDT) Received: from andrea.amarulasolutions.com (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id f133-v6sm18539320wme.42.2018.07.10.03.02.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Jul 2018 03:02:40 -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: Tue, 10 Jul 2018 12:02:23 +0200 Message-Id: <1531216943-6382-1-git-send-email-andrea.parri@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 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. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt index 0d8d7ef131e9a..987a4e6cc0cd8 100644 --- a/Documentation/memory-barriers.txt +++ b/Documentation/memory-barriers.txt @@ -471,8 +471,8 @@ 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. The later builds the necessary + ACQUIRE semantics from relying on a control dependency and smp_rmb(). Memory operations that occur before an ACQUIRE operation may appear to happen after it completes. -- 2.7.4