Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3242116pxa; Tue, 25 Aug 2020 15:52:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7CUsESHALRwS/QE8qG8ydbA8QLp3ayiGLi0DU60HIawsc8ty+vfJvfrRBeKGlw1Ff1hJM X-Received: by 2002:a17:906:fcad:: with SMTP id qw13mr13346013ejb.389.1598395936539; Tue, 25 Aug 2020 15:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598395936; cv=none; d=google.com; s=arc-20160816; b=SYHbfhqmxYJiETkc10Ck8uSvyHrcIjV3TPIVfnCJhV4J2SEuymR1wajOtm45aqeeH6 VpqJd3KtZL40zRM5vprlnS7+YwlgoV9+XXktU/4sP2+osOZ2LSZcW2VdCZFfNTxrqvoY wJMIoCmGih02r8r4F9ZNNDGtmVIpAJHiMVyEAmpNMuVNmZ5LXh48qRDXEDf23HVBoToo uilpD9PfkuVISCvzBhU8wKHGlLq279RcbbFd/iZ+YDB/Hj3Xi5C8LBGL/SY+iyR0mGez LUtfKw1Nr0PzdJVWZ1NXLO2jfqaYBbxyZxNMhFuAHYigEjDu8etRJW9KDIARKIeusNV4 yGog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=lz7Ete1HXeK/9NWmX4iXi72UXTwnQy+boNBkraeiIfc=; b=do/JbGkPvRToshDuKsu3olZ8aCpf2VPM/s8D17ZGuKr8jcPJc6Sb1BzZ185Et7ekwv 8Riy8OowTGXzW/IRNlMOWyE18AiuqZ9YV+icUXtvK1rw18ARZluFm/cM/rN5n8QqjYTY WCDsk6h+wnc6IdOIY8vpFT9S1UAIgHZmPI2i+waUECc7XY8bLYOeqR2gLxy7nkd2FazS doTb6URIIemdu29CNEZbVlli+OUczb1waeYQyi7PyAXYEVhVYJP7IQoRq9u549e5LdG1 VECfGCjBDd6WQe9DcssF5znlKBjjaS2/0vV8vHwReqdvI34W7JO6mKOne+tR1f40vE+F f+oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=cmK3KVNW; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si326839ejg.226.2020.08.25.15.51.52; Tue, 25 Aug 2020 15:52:16 -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=@joelfernandes.org header.s=google header.b=cmK3KVNW; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726627AbgHYWvH (ORCPT + 99 others); Tue, 25 Aug 2020 18:51:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726471AbgHYWvF (ORCPT ); Tue, 25 Aug 2020 18:51:05 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 533C4C061574 for ; Tue, 25 Aug 2020 15:51:05 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id 144so171297qkl.5 for ; Tue, 25 Aug 2020 15:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=lz7Ete1HXeK/9NWmX4iXi72UXTwnQy+boNBkraeiIfc=; b=cmK3KVNWwPBBD9n9vWY41oNG3RxLjaxZospd1pU/v7R/iAUTgif12lQMVixLmu6tQr Irff7h1Iydpwxjk3t9humO3YYGtxvDSIeO2GfofyEtqh2UZW6WB0aitNRMPtRhYbsmKX DtFzdi4NpFs1+rZYJ3ISGDFgYgT/KFg8wxuMs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lz7Ete1HXeK/9NWmX4iXi72UXTwnQy+boNBkraeiIfc=; b=NJAkSpRD5z6sRVSkCWRPFB3mEJd5UiAftBCUmm68lMWLtASA4CDUpP31u5JTfsLgzB FhILevgfnDEOZUzoiK12Y26fAZZI1v8ZZ0UAHHCCvPBQA1eoecD//thrfM9AMG2T2Dpu lXTkWpIeTiTVWWGhzVGRxwqkxlS11DBMGLMjTwV32BOc5WAlfGQMaC0ggWXIFOCYvcXl mLHUEvkfwMF3MpBgxyQbzrSvKEUT+xNFciai2A3/qHWkX9C5dZewEUY5ycgVZUBOecN7 6stzW/9nGd/yO9YFe2IpYI/bdjfqSctjBrT3CvZ0A0y+46AUKW5r4y+Qv2GiAxW+fGa3 h96A== X-Gm-Message-State: AOAM532wKsUYr7XMaNihOecor2DDWNArgIgDFKHgGou6zoZtmwSgeTHv uuzV79SBU8HH49+3FkK7v4JEFQ== X-Received: by 2002:a37:ae03:: with SMTP id x3mr11322595qke.313.1598395864585; Tue, 25 Aug 2020 15:51:04 -0700 (PDT) Received: from localhost ([2620:15c:6:12:cad3:ffff:feb3:bd59]) by smtp.gmail.com with ESMTPSA id k3sm233628qkb.95.2020.08.25.15.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 15:51:04 -0700 (PDT) Date: Tue, 25 Aug 2020 18:51:03 -0400 From: Joel Fernandes To: "Paul E. McKenney" 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: <20200825225103.GC579506@google.com> References: <20200825024842.3408659-1-joel@joelfernandes.org> <20200825024842.3408659-4-joel@joelfernandes.org> <20200825215338.GA16846@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200825215338.GA16846@paulmck-ThinkPad-P72> 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 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. :-( 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. Thanks! - Joel