Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4342144rwe; Mon, 17 Apr 2023 11:07:18 -0700 (PDT) X-Google-Smtp-Source: AKy350bZ27YxKzaPjY1LN4qtgVZM+dHEp5SQG6cvJBDKsnn9mUGDg/b9onlO8PY0+gEi80UoQsip X-Received: by 2002:a17:902:f54a:b0:1a6:8f65:99c5 with SMTP id h10-20020a170902f54a00b001a68f6599c5mr14592079plf.11.1681754838383; Mon, 17 Apr 2023 11:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681754838; cv=none; d=google.com; s=arc-20160816; b=I5VDspYYD/161zlVE44ESo8YDrqUrSQUdBJmc5fI44y+0FOf3JAgJrVvw85FKGxVtm ni679Qm6BcjvuRCUB0JT0vRCm+jAhI7RpQxoZuFsmEwyMEUE+NbOq4LuMLLosQsHBuV3 7/t069ELwcNvlkQYwOJqPQvHE6ZS4wKCZ8dwb5sg1TzYk3dxDC/UpqoNcuPUn2Zco0py KRxi0HvMzUnFvZKPHGYV3qeSqt/LmljOkyTopswcp8lzWW+erqOphF7WLhrixDFT24Rj a4sPr7etEpnYjRxZzwIl37Wq4wdMWrr7Mdf8V+3lC2Dt2fy4zcBYTsxs1eIkoPM5V0eO oKpA== 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=tAQseiBOvTaWYKwBOg/JW/PRr596E4na6qpBjVgO9oM=; b=RUCG0hadCHQCF/Ff3qejgxt1L+6WgHt5vLBFRx2o0AEkpvRvgx6YO14LtavEKohmfJ ZFxnRCCYB5lbcd5J5OOPpI4T/WHbSx2jtq/5xCefc7x7nsNMiirTLh8sgAIIoYuRW9aZ yRC44pIPUD0P4iO4DdX7jj3MMfRlSkua/Pb9hvTAvKLvAcFzdCps9LIGBFDTWXxdHPr+ GnVa7rB+2Z8ixdKJqkgmvnpYKPV6MNDKF+wbb0L3hIee7pmsGhMosBDHlUTKuvZ0V6eQ pbMkzUBwR0sSMF0b8+yVxeJBE4P/k7hyWR7iAA/6W/ev4+Qt4dND7emxkHA42Dokaahy 0Pvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Z3UolhRn; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay8-20020a1709028b8800b001a1a7043ec5si11519294plb.243.2023.04.17.11.06.36; Mon, 17 Apr 2023 11:07:18 -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=@infradead.org header.s=casper.20170209 header.b=Z3UolhRn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231169AbjDQRxd (ORCPT + 99 others); Mon, 17 Apr 2023 13:53:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230282AbjDQRxb (ORCPT ); Mon, 17 Apr 2023 13:53:31 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E1DB76A3 for ; Mon, 17 Apr 2023 10:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=tAQseiBOvTaWYKwBOg/JW/PRr596E4na6qpBjVgO9oM=; b=Z3UolhRnMkYgfJnzKd+YNFqAQw EXkALI6DwvdyOG6aOHbcymPWnBar+5oxelgEzJ8Lm05oGwDBCLrQmdr1z/rFeFAaWtiWSi92YyoWW xSqcERbHfTZJzneJQe9MaXUWh5onfj6kTmrJq+9O5x5Xct/T2n0LOU0c/xTok5HKQ9dPAkjBBeWVc HbwmXGBvi7xjFxrSX75ONtCuAHt6biksi4oSQ+q8VUch7w3iW7zTTQvCGe4Z3Fexea6qdSzggnYPk n+LqtzoTJJJjDeoNs2eCi1EpvDP+QymXgsLipkznldG8DYOzP4/SYA5/sBtTJqcBrz1nq7saCeva2 GZAZ9jgA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1poT2a-00BYN3-52; Mon, 17 Apr 2023 17:53:24 +0000 Date: Mon, 17 Apr 2023 18:53:24 +0100 From: Matthew Wilcox To: SeongJae Park Cc: Vlastimil Babka , akpm@linux-foundation.org, paulmck@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] mm/slab: break up RCU readers on SLAB_TYPESAFE_BY_RCU example code Message-ID: References: <20230417172657.21925-1-sj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230417172657.21925-1-sj@kernel.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Mon, Apr 17, 2023 at 05:26:57PM +0000, SeongJae Park wrote: > Hi Vlastimil, > > On Mon, 17 Apr 2023 13:05:40 +0200 Vlastimil Babka wrote: > > > On 4/15/23 05:31, SeongJae Park wrote: > > > The SLAB_TYPESAFE_BY_RCU example code snippet is having not tiny RCU > > > > Since "tiny RCU" means something quite specific in the RCU world, it can be > > confusing to read it in this sense. We could say e.g. "... snippet uses a > > single RCU read-side critical section for retries"? > > Looks much better, thank you for this suggestion! > > > > > > read-side critical section. 'Documentation/RCU/rculist_nulls.rst' has > > > similar example code snippet, and commit da82af04352b ("doc: Update and > > > wordsmith rculist_nulls.rst") has broken it. > > > > "has broken it" has quite different meaning than "has broken it up" :) I > > guess we could just add the "up", unless someone has an even better wording. > > Good point, thank you for your suggestion! > > I will apply above suggestion on the next spin. For the last one, perhaps changing the tense would have more clarity: similar example code snippet, and commit da82af04352b ("doc: Update and wordsmith rculist_nulls.rst") broke it up.