Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp170365pxa; Wed, 26 Aug 2020 07:38:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzREhioW19U/CQM8KXkq9enEQCVDkUHI33hTbEqOGaglZn4yI84R9I3dy0Dc3QjWhK23StB X-Received: by 2002:a17:906:f8d2:: with SMTP id lh18mr11435798ejb.363.1598452713196; Wed, 26 Aug 2020 07:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598452713; cv=none; d=google.com; s=arc-20160816; b=ygZ3Fd0TqqlAH0dSWLcuY2IQhPcdrX6g/arbAsjeAKgMbCenETwk6P+fyxAK9tRLHy z+SBwTmZZYR9af1lA2cJTXQ7GioREzjKbh5oR26yPJxE48/cw7h8W3RVHBeZJI/EhBZj 6O8LI88W7NDhXlhQJXIS1L1wgJgpc2HxNsMJGCQTZIBR1izPQQebUCw7HQqDvMv7W+gn Oy4/M7I5dK12O778nWqsnyQhIKCjYUFBMzOYWHzGwuElkGMnP7/QEB6VUeGwLmImutK2 4DHgu28k7L/qI1WOqX99kjoO47K35BpN6G3a0mCtnxgmlktee+ZL4ptXDTFKfM7OOlGo 3+2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=/GsieyPCtKElJvJ6KvLl24PRBWbB1WXm63M/1VxjdZk=; b=AL5GdIAHFMJx48p6MJ12yVQN+zSQ2qVhYv3ptNBy2pN3FsHb41AEqiQPGB0Ha2rD4q xQ3HbBKGgs0t9bNYEJP2q8UKbrPNWHfimLZeCAS2uB2KSD//W2mUJRAfUN856apoiLh+ BwKUAhrH0nmAtCJXoDdnQK2fpalWKHNF5w+uARJss8HzJbl0EdwRfogFsneXuzaDgg+V pR1OXpmC7dF4JPFfVdhzupsHaPTu/C/7v3rArKE1NEhOS6hUfChHFJhHpSxVauoADESO IlihmJ0abluaCC0hczl/QDst/hr8jYaVft933c0q+EupTXyC0niQ6DkZKs7mREy+q11o YORg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="wNnNhrT/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si1639736ejd.405.2020.08.26.07.38.10; Wed, 26 Aug 2020 07:38:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="wNnNhrT/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726856AbgHZOYz (ORCPT + 99 others); Wed, 26 Aug 2020 10:24:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:58760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728403AbgHZOYj (ORCPT ); Wed, 26 Aug 2020 10:24:39 -0400 Received: from paulmck-ThinkPad-P72.home (unknown [50.45.173.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 31480221E2; Wed, 26 Aug 2020 14:24:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598451879; bh=y/o8xTsCxJXwdFLg7PPBp4sPe/or6bDLtEoBE6yq7jM=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=wNnNhrT/OAhZMK+ndEUA3Enxu1eITO8pawK+T2TlZVYk6cwdyRiplvYNc5QGHE4q8 BN8ZQlG13QzHwdyf5CHAFT9hL1nliH5paahVUeBZPwsA22LidzEjZGqVxTxaNO5P4/ MaVHbLMf9NRjdGNkQd8tEtA6KsOWdUTNlP6tKaWI= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 0782A3522612; Wed, 26 Aug 2020 07:24:39 -0700 (PDT) Date: Wed, 26 Aug 2020 07:24:39 -0700 From: "Paul E. McKenney" To: Joel Fernandes Cc: linux-kernel@vger.kernel.org, boqun.feng@gmail.com, dave@stgolabs.net, Ingo Molnar , Josh Triplett , Lai Jiangshan , Madhuparna Bhowmik , Mathieu Desnoyers , neeraj.iitr10@gmail.com, rcu@vger.kernel.org, Steven Rostedt , "Uladzislau Rezki (Sony)" , vineethrp@gmail.com Subject: Re: [PATCH v4 -rcu 3/4] rcu/segcblist: Add counters to segcblist datastructure Message-ID: <20200826142438.GO2855@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200825024842.3408659-1-joel@joelfernandes.org> <20200825024842.3408659-4-joel@joelfernandes.org> <20200825215338.GA16846@paulmck-ThinkPad-P72> <20200825225103.GC579506@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200825225103.GC579506@google.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 25, 2020 at 06:51:03PM -0400, Joel Fernandes wrote: > On Tue, Aug 25, 2020 at 02:53:38PM -0700, Paul E. McKenney wrote: > > On Mon, Aug 24, 2020 at 10:48:41PM -0400, Joel Fernandes (Google) wrote: > > > Add counting of segment lengths of segmented callback list. > > > > > > This will be useful for a number of things such as knowing how big the > > > ready-to-execute segment have gotten. The immediate benefit is ability > > > to trace how the callbacks in the segmented callback list change. > > > > > > Tested by profusely reading traces when segcblist counts updated. > > > > Might I recommend a more repeatable and sustainable test methodology? > > (Sorry, couldn't resist, given that you left yourself wide open for > > that one...) > > Ah, this message was from an older series :-(. I did test it with rcutorture > for many hours. But I forgot to update this commit message. :-( That is better. Let me see if I can find a more targeted test from the old days... > I will respond to other comments soon, I am still stuck on the comment about > rcl.len and rcu_barrier interaction that you brought up in 1/4 and 2/4. Hoping my more recent replies help. If not, you know where to find me. Thanx, Paul