Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4410440rwe; Mon, 17 Apr 2023 12:11:45 -0700 (PDT) X-Google-Smtp-Source: AKy350ZYGGL7cHQBnA4whq7W981KIFlu+Zak243zGzw/7Qs/l9DFHyBS2Ov8YnUfi3v9AzX+csgW X-Received: by 2002:a17:903:3293:b0:19d:1bc1:ce22 with SMTP id jh19-20020a170903329300b0019d1bc1ce22mr18680plb.5.1681758704892; Mon, 17 Apr 2023 12:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681758704; cv=none; d=google.com; s=arc-20160816; b=ervWYdxQOkqctBotUmcpgEhLVa/ApZSJYwnycZEKvLRwj5o4r6naGeEQ2rrvwmVe4D e/OcKYdR/1gI6zmpwPOx1AkjWP0iZ59bQZ8taTmAGU9wh9ZQkxaGkEs55D/xzwLNABv5 bWzUc50ddFy7QEaRC3BKy3tDcWw/1Hf/W5gmm4Jo2yU82yqT0UrY9XF39c6/jePSTIJ8 gSpHc2JwhgmOi/rkUov8mCYifHrYrRSmSZ4G7z25BYQAXzJb5SZYYt/fQ/qvGY5JCXan JHCPRYOnWBokcEW9QHLW2/Nwpdex7SKU3tLWnyYYR1MQsjl0VcmCJkxyEWKklWYiHwyg VFlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Gh8Hsv/RKqxFLYFspnVz2/Cs8kJzjy53Tv+GBe+0v40=; b=NBaxpBbKo+v0NKicA8txWnl/TvnXB/i7GR0qZNlXMwgl3ydFqcFbc5bBS93jPOQhnk GSZgRGijQHSiH0cb04xvqeAMfO5QWb4sCA6LDRdjvg09VSHS5+lQB8OYtXJjwSYSFHf/ 5w8rNTjeW/IuQ3sg7uOCYXVqEm/ES3KdcKR4y3wFKkMFJg4vMvGES+qO8XK7eD375n7o QkatJWR7aLIxkBCuBEkbNK79+mO9FfMZvf4GmfU/+96fiaGeDNjnp3PFSov+kJMhNxFR /n5fLIHzkTmgllPT2BFFqwjmnkyEVAB0X4EB8+VP2ezFyBVHQfgkaELO423nAMCr8h95 vptQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Eiy0UGNc; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a170903234a00b001a69d1be184si198352plh.506.2023.04.17.12.11.33; Mon, 17 Apr 2023 12:11:44 -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=@kernel.org header.s=k20201202 header.b=Eiy0UGNc; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjDQTIh (ORCPT + 99 others); Mon, 17 Apr 2023 15:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbjDQTIf (ORCPT ); Mon, 17 Apr 2023 15:08:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821CC35A2 for ; Mon, 17 Apr 2023 12:08:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0E09860FA3 for ; Mon, 17 Apr 2023 19:08:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D870C433EF; Mon, 17 Apr 2023 19:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681758513; bh=DvfaB+8rMKPdQmf0iRaItOKw+iFrC1CjBgL93/QX3ZY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Eiy0UGNc/HcVJVXw4mIuX/Mo1o8ZOgc5A6YcqzOEPvyuHIuR7UtLSAst0+UaRIxl2 uwPwwUJJa5mR9RgPBDelSAg6r0/BOFsNINI6ZmcGsFFXTpgin4TGiZcJ98Lg9f1jbq whnu1sNk7WhKnCfiCEVp/94k3Qzs9cucl3wIZyWgpRz0RierQGdlzM+twf9LdDEt32 T5I2Yqv67kvrnAdwtX2AIzh0+pfqhRlSljQVanLUT20E/pkDi6UMXG2M7HCsTjdGX6 kD7HyVEPVDgIZu5foW2jkkzpgt1fz58weRRl9edF2a5VXHMqumD0ogl63c5cGo5o0y /B+G++FcRroxg== From: SeongJae Park To: Vlastimil Babka Cc: SeongJae Park , Matthew Wilcox , 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 Date: Mon, 17 Apr 2023 19:08:31 +0000 Message-Id: <20230417190831.1744-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <17bbab58-3cde-e980-bdeb-b9de65848b2e@suse.cz> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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, 17 Apr 2023 21:02:22 +0200 Vlastimil Babka wrote: > On 4/17/23 21:01, SeongJae Park wrote: > > On Mon, 17 Apr 2023 18:53:24 +0100 Matthew Wilcox wrote: > > > >> 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. > > > > Thank you for this suggestion, Matthew! Will send a new version. > > It's ok, I can just use that when picking the patches up without a new resend. Sorry, already sent[1]... Please use or ignore it on your convenience. [1] https://lore.kernel.org/linux-mm/20230417190450.1682-1-sj@kernel.org/ Thanks, SJ > > > Thanks, > > SJ >