Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp3765892rwn; Sat, 10 Sep 2022 20:27:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR5c7IFTEOqIcEYCCm+cPDpJvfeZBG7l3jnTUvBZq7ePyMGIZa3OLuk9DYW0OFGr7gfZYENt X-Received: by 2002:a17:907:1df1:b0:779:4f57:6bb2 with SMTP id og49-20020a1709071df100b007794f576bb2mr8434345ejc.407.1662866822404; Sat, 10 Sep 2022 20:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662866822; cv=none; d=google.com; s=arc-20160816; b=WtxvT5f4ogwf9r4AzqEnrStm6cTQScG8ZTQdTpl/klskv4X/b6tUFBorlRUvz8ceiX AiRi38jeRNFWnVpW/esT5TyFDr8jLM/1TsiKuJYTVVK8mLjnDZk2RX0/a0GEf3jD8weN tbYvSCounr3Xxf+1iWLvYNXSWao/s9G1M+QniXxhuBJLJQC+Tf5ei4dbfFmji9kMSD8A CU8836Q3l+uiFNfMrDoN47p2D9L9JaPqsFhBHacHycMuu+sklgkjOhtE+B1U5W+uY/WQ D/H3BGirzDOZQPpf5lf894l++NvtCQMNNb6yl/2z0iiA6i6BMrkrMwjvAVI88ioCAJVA 8YAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=g1YJLc5z0WaEtu65y0i/ZKRdnjxQt85hQV5pQSDFUrA=; b=qE/SxD4msJS+nq6eRtSpfRxA0Qe72IwY4UBfjwhL0YTLoNBE5RJMFm+oTw3ppwt01U kl1gWOMe/TsFiaYMGQDDh2cEziFTB1X77gMKTXb/ODRFezJ6ke+tcuf9GIiMeM2AYuHX F9FP53hTCVuK/fRhjFK2EnkU5Qear5CtLd7H5PEmjkX5BA+3+BYytnRDBh5C+ybpawbI x5ClXJAiIPiSCbYDrL2Sgg2Ug6gwInFdnt2M48CA9CWQQluoOqo4vLIBJPrdwQLxlt5D EkmHaurdd5ZzPFqFhSmoxbNCr/jcR0F9+m8nodWnFhu9ddjtTgmFCra53Tn7AZH1A4Zi 08pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NakaKVgA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt12-20020a170907728c00b0076f0a1c1501si319662ejc.698.2022.09.10.20.26.37; Sat, 10 Sep 2022 20:27:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NakaKVgA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229558AbiIKDZL (ORCPT + 99 others); Sat, 10 Sep 2022 23:25:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbiIKDZI (ORCPT ); Sat, 10 Sep 2022 23:25:08 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 453751B7A4; Sat, 10 Sep 2022 20:25:04 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id c2so5452202plo.3; Sat, 10 Sep 2022 20:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=g1YJLc5z0WaEtu65y0i/ZKRdnjxQt85hQV5pQSDFUrA=; b=NakaKVgAM4/G8p21ziwOjOqoOLiBZyUnbhi7I9SWZnMO56q0AYAjejYTfq2cFOQ8af I+QzRqPK/NxLDTTtl184AbLmvdZywJmVZwHDYEKzk2XUHQH01+Dg7xu+Ju5ArPK7vdJf nBUZo4TWekHlSH6QnxU79cVa7SW5t9gdU99XtR5t3mZHPXchVnAN4aHdE4GdV2diSK42 UznpSOufkpufk9HSae/EPfBbhP3eWd3KPqezu/cA8saNNZOVuELz/DrRwXPx8xJVV5IW 7rAATzNpbgNEStgiKFgTAn4Vfs+uLxkX7WjXIlMSJ6qGyXnw/Oehdfhc2QEYDKw2Y4F/ 04GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=g1YJLc5z0WaEtu65y0i/ZKRdnjxQt85hQV5pQSDFUrA=; b=xMZ3qdNH/B2uAe74iUpLOXMkidS4UCaX3tavwyojuRF6RjBEAm5dhcgMZ9OB1m5/wd jHAZlPJbGQXm+BxyJPmguPJLJQkGjUAaSVGp4pEkcjDN5Js6cTezkO6sKHe06Wk/R7E3 tFVySwluo163fhYe1Xq64SMBu4izTnh/YGf9oetVm9c+vIUsHOG8PQzy4RpWw3RUpVvn hL2xNd64ILt0IGNQdUooazJ7o4+ManY6RkijfRLi3F1OzLobxFx4wEYCX9aRv3NqZCm5 jQPt9MrE/iV6aRUM3JLqIg1j9tnWe/OTVM1cabv+vv0jQfTg6dssLAQs14pieCIceca7 G4Ng== X-Gm-Message-State: ACgBeo0G/XyKOLHeOJRdSRBPTHWwMB9pe3jOx08RKAh2T88vWbicr5SX Kz1e1byN47/zCdqyPbC+wimTh2/33Zq47w== X-Received: by 2002:a17:902:dacd:b0:174:e43b:a235 with SMTP id q13-20020a170902dacd00b00174e43ba235mr21030072plx.37.1662866704037; Sat, 10 Sep 2022 20:25:04 -0700 (PDT) Received: from debian.me (subs03-180-214-233-78.three.co.id. [180.214.233.78]) by smtp.gmail.com with ESMTPSA id n68-20020a622747000000b0053e599d7032sm2467023pfn.54.2022.09.10.20.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Sep 2022 20:25:03 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id F3C40103990; Sun, 11 Sep 2022 10:24:58 +0700 (WIB) Date: Sun, 11 Sep 2022 10:24:58 +0700 From: Bagas Sanjaya To: alexlzhu@fb.com Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Kernel-team@fb.com Subject: Re: [PATCH] docs/mm: Improve grammar on mmu_notifier documentation Message-ID: References: <20220908001948.3014216-1-alexlzhu@fb.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="krJoGUX3JHCMjCSM" Content-Disposition: inline In-Reply-To: <20220908001948.3014216-1-alexlzhu@fb.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --krJoGUX3JHCMjCSM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 07, 2022 at 05:19:48PM -0700, alexlzhu@fb.com wrote: > @@ -86,14 +87,13 @@ they are write protected for COW (other case of B app= ly too). > CPU-thread-3 {} > DEV-thread-0 {read addrA from old page} > DEV-thread-2 {read addrB from new page} > - > -So here because at time N+2 the clear page table entry was not pair with= a > -notification to invalidate the secondary TLB, the device see the new val= ue for > -addrB before seeing the new value for addrA. This break total memory ord= ering > +Here because at time N+2 the clear page table entry was not paired with a > +notification to invalidate the secondary TLB, the device sees the new va= lue for > +addrB before seeing the new value for addrA. This breaks total memory or= dering You remove the blank line separator between the code block and paragraph, which kernel test robot (and Sphinx) complains; so you need to keep it: ---- >8 ---- diff --git a/Documentation/mm/mmu_notifier.rst b/Documentation/mm/mmu_notif= ier.rst index e22b591fc4061f..751b6eaf456e52 100644 --- a/Documentation/mm/mmu_notifier.rst +++ b/Documentation/mm/mmu_notifier.rst @@ -87,6 +87,7 @@ they are write protected for COW (other case of B applies= as well). CPU-thread-3 {} DEV-thread-0 {read addrA from old page} DEV-thread-2 {read addrB from new page} + Here because at time N+2 the clear page table entry was not paired with a notification to invalidate the secondary TLB, the device sees the new valu= e for addrB before seeing the new value for addrA. This breaks total memory orde= ring Thanks. --=20 An old man doll... just what I always wanted! - Clara --krJoGUX3JHCMjCSM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCYx1VBAAKCRD2uYlJVVFO o++dAP4pXGa5ossOKkNSjQEYDTxVMhNZLYZFSt1AhiC7OJFvMgEA3Iab+k8i32LL lv3y50CVIQ9rO8sDKawhraNWAXzzngc= =vpHt -----END PGP SIGNATURE----- --krJoGUX3JHCMjCSM--