From patchwork Tue Oct 17 11:30:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 154086 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4065905vqb; Tue, 17 Oct 2023 04:31:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFVZoBWn28g9RW90njLjAM5Om32lOAiO7DhoE/R5RYHPAx9yQC7co3jTkiAlP4AoA8ULA7W X-Received: by 2002:a17:90b:3802:b0:27c:f653:37b2 with SMTP id mq2-20020a17090b380200b0027cf65337b2mr2005138pjb.1.1697542291360; Tue, 17 Oct 2023 04:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697542291; cv=none; d=google.com; s=arc-20160816; b=ebMzG3xkNpUgpxKdk3y1pzgj2HLZLxlEHv4ISonjMDMaatTSzqHqkVTtCghXIrREZz NKbnneDyEPuUkHuQgOoa7AmBAVw9BnXK8ct2BFwJNAczi/HJWmaQ+VlwJLBe/ZCzl+vT /eOH9hMS9HyZfSAuhQ2g1VrOb0k3iZKKAUmEe1cmiMpWQFh+kppLu15gH/gg/NefG4zP NGQJ4HXocAtByr4letLRHiMiAhBs/Oq2LrKQY9P/X/UShtf8zJ3uNFcAw20WKkmYK18G V9aZ7vft+JWCjtk/fpzax+mdRmdVWgLqYPbdSfSHD/ne4czExXA+TGkiZMu8DkhnUonE SBfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=8VsSLdFpc/PxeSRQjP+bqFWYb+ZOMba2A5yv3BN4Ntc=; fh=AJ0ZRRKfRatsO19Jeq3AUjwNcyHvrXRBHJF/qWPn0CY=; b=DiWszux/CoNC51n6jB8BtK/A5wE5KVR7rzkCM1W2CJ/ziJxU0omSv1wM0J/+ILl1dR t81TURP490rkujUjXsf5+MHEUsWIbwCbaDK9auK7jADKngCnXCVG4tSqODwiRJyEsgXG EIC9HS08rbvpVG+OwCIRW1DvCcg5nZbpo0vNMlKLTvDtzyukggAS6ysnFVzt1ie9k2EZ SX21Po/Q5BCJhoCxANu6IHI3QxsUvZ3MeEULIwiuPcCsxcYGzJzHNYeNVZ62/oBDZfZK Kw4dg+2O9u6K++yc92vF2YIUQuRQbBCO/dFqquB1F4VnV8EwRBf1vFyPwqzv6IhpCUJv yGTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dN9Hs9gc; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id o14-20020a17090ab88e00b0027d0c32326asi1514286pjr.151.2023.10.17.04.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 04:31:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dN9Hs9gc; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D162A801D916; Tue, 17 Oct 2023 04:31:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234708AbjJQLbE (ORCPT + 19 others); Tue, 17 Oct 2023 07:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232644AbjJQLbD (ORCPT ); Tue, 17 Oct 2023 07:31:03 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5820EA; Tue, 17 Oct 2023 04:31:01 -0700 (PDT) Date: Tue, 17 Oct 2023 11:30:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1697542258; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8VsSLdFpc/PxeSRQjP+bqFWYb+ZOMba2A5yv3BN4Ntc=; b=dN9Hs9gc5eTj1DpWxdv/ygfF9Ca1bGFGDqbInmo9W7mCZcHMlwemY+q/F03T2K1KboC/P7 pYHbi7YqyGjrqhTMEoequqLS22c0DWvZyKN/np8BVP2wcRrHG6eD/V8Uz0WPSipm5J1N2d 6NLt69DyhOGDY7J8f+JruHEyvZeWs+ZrIQ6Q9RWzjDsLh73YHFnUC9KywwCgHUgxozwUPJ lSgdhijegRgZ2grmw75r9eWAW0MNXhtBOeEBZag8ab3MyDIwt4tErto6XriHd6EHs+3UVF 3cEQn5oniYw/Ks6KcSyn2J+B/bQ6gUKwEzm+5fQk/D+dh/adybXh9NNQycFE/g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1697542258; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8VsSLdFpc/PxeSRQjP+bqFWYb+ZOMba2A5yv3BN4Ntc=; b=Qw5Y5LAWf5581R0D5BpClUx2nMfCxL+W4QQ4hXAOQBdZ2gYvfYAzkKA1w5dgFOt7l+Pe+w ckVtLBK5f0dnwqAQ== From: "tip-bot2 for Cuda-Chen" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] locking/seqlock: Fix grammar in comment Cc: "Cuda-Chen" , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20231017053703.11312-1-clh960524@gmail.com> References: <20231017053703.11312-1-clh960524@gmail.com> MIME-Version: 1.0 Message-ID: <169754225791.3135.5867616537224142334.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 04:31:28 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780002105320503263 X-GMAIL-MSGID: 1780002105320503263 The following commit has been merged into the locking/core branch of tip: Commit-ID: 184fdf9fc7ae6ae7155768faa48fc609d1a24b7e Gitweb: https://git.kernel.org/tip/184fdf9fc7ae6ae7155768faa48fc609d1a24b7e Author: Cuda-Chen AuthorDate: Tue, 17 Oct 2023 13:37:03 +08:00 Committer: Ingo Molnar CommitterDate: Tue, 17 Oct 2023 13:28:12 +02:00 locking/seqlock: Fix grammar in comment The "neither writes before and after ..." for the description of do_write_seqcount_end() should be "neither writes before nor after". Signed-off-by: Cuda-Chen Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20231017053703.11312-1-clh960524@gmail.com --- include/linux/seqlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 80f21d2..e92f9d5 100644 --- a/include/linux/seqlock.h +++ b/include/linux/seqlock.h @@ -584,7 +584,7 @@ static inline void do_write_seqcount_end(seqcount_t *s) * via WRITE_ONCE): a) to ensure the writes become visible to other threads * atomically, avoiding compiler optimizations; b) to document which writes are * meant to propagate to the reader critical section. This is necessary because - * neither writes before and after the barrier are enclosed in a seq-writer + * neither writes before nor after the barrier are enclosed in a seq-writer * critical section that would ensure readers are aware of ongoing writes:: * * seqcount_t seq;