Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp299773pxu; Wed, 14 Oct 2020 01:23:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJW95kZu85sNpUeWwEk2Ufrj4ggr4QPOvKI4nt5yLML+yb+gNYq1rMWadw+6Oc5ToIGHyv X-Received: by 2002:a17:906:ad8a:: with SMTP id la10mr4052145ejb.176.1602663811533; Wed, 14 Oct 2020 01:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602663811; cv=none; d=google.com; s=arc-20160816; b=shDvXIAILQnMGNds+SGkW+2rz9QVLJLlmytrXZAQDr1x4lzu8s5lK0WHMgxhZU7Y+5 kOt4I7UCFUsndJJ4cEch9ghRBWG+JXqd2D7eXBmGfaOOgi0KRz1rSJ/hCfOQh20X0iEX X+vIz3Zf7/GAQ907OweYFjcHKaatjAP2Nz/6cnrBJUFGj6HQ/XufeLRkHwyHga5uN5R7 qq4QkiQ/q4fh1+apFV4g2YKz1Y5kMJrun+QXDvmVwfTEbQNNDwh3Odz75R0d3TzeLn0v bmKTW9haom3D1g89Ar8T3s9so2qr+TtOKegDocmQu4glxEHuvmn3m8wzeeWU7i/DqkPR T0tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=f08gQ287Ae0ITryo5KrrYe2w0OYA1FUYaCNONiqNjvk=; b=OaVueMk56Wv0aG1sh8Gm4LtsjJOuvEGyX1x6oNQ3tnAW9+ZyT+m35f5s9UKsCdh/AC Wt6ZHT+sRNA7x1qO9p6YDRIbmeI2ChnK1i7YCleb9iIBg2Ltkurwpq3xOZb+NACvxmyc mrD1+49NsFkbVpjWKP79xUCchHY43VaF6VCJ4RMQuG7V8Fi4+frY2jqLeArVV2LAn4ri O6e6ZtuuaopPIraEVJ+cp8EIqeil7XZy+HagAzX3ZOz1BstXNEyViRRwcTOBDHm+IIGS 7Bwx/aWTe+irUf2PTq0Uzxrc02RYATddcMau9wULCvI2GORQoq+Y3rmHY2OrgPgE8G8H Rgew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hyDGwtUW; 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 cd12si1718692ejb.745.2020.10.14.01.23.09; Wed, 14 Oct 2020 01:23:31 -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=hyDGwtUW; 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 S1728112AbgJNBzM (ORCPT + 99 others); Tue, 13 Oct 2020 21:55:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:54260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbgJNBzL (ORCPT ); Tue, 13 Oct 2020 21:55:11 -0400 Received: from paulmck-ThinkPad-P72.home (50-39-104-11.bvtn.or.frontiernet.net [50.39.104.11]) (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 E07E521D7B; Wed, 14 Oct 2020 01:55:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602640510; bh=x7kJdJ6ZPzEPZDcTC7J3S08SvvvsdXQ3eMCtY//v7aE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=hyDGwtUW/gl2GrJoa8dy8CWH6E1P84bY3VJ0woULAgzjwLj+Ieq776J4HWwaqhurr j/sH85gJIULj9kS/9j5tU06ckoYqVJKBUetxeP+H20KBMA7M0cPLzAKrCLKDiNQrMV HRgParBnleoTZRNfPlBj/ksexCEEgB3YamVSDRVw= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id A665C35229EE; Tue, 13 Oct 2020 18:55:10 -0700 (PDT) Date: Tue, 13 Oct 2020 18:55:10 -0700 From: "Paul E. McKenney" To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Jonathan Corbet , "Uladzislau Rezki (Sony)" , Joel Fernandes , Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , Steven Rostedt , linux-kernel@vger.kernel.org, rcu@vger.kernel.org Subject: Re: [PATCH v6 70/80] rcu/tree: docs: document bkvcache new members at struct kfree_rcu_cpu Message-ID: <20201014015510.GQ3249@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <6dd0804d6fd567f11e4c6efb767e91acca659d1f.1602589096.git.mchehab+huawei@kernel.org> <20201013163404.GP3249@paulmck-ThinkPad-P72> <20201013224608.30dd1bc9@coco.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201013224608.30dd1bc9@coco.lan> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 13, 2020 at 10:46:08PM +0200, Mauro Carvalho Chehab wrote: > Em Tue, 13 Oct 2020 09:34:04 -0700 > "Paul E. McKenney" escreveu: > > > On Tue, Oct 13, 2020 at 01:54:25PM +0200, Mauro Carvalho Chehab wrote: > > > Changeset 53c72b590b3a ("rcu/tree: cache specified number of objects") > > > added new members for struct kfree_rcu_cpu, but didn't add the > > > corresponding at the kernel-doc markup, as repoted when doing > > > "make htmldocs": > > > ./kernel/rcu/tree.c:3113: warning: Function parameter or member 'bkvcache' not described in 'kfree_rcu_cpu' > > > ./kernel/rcu/tree.c:3113: warning: Function parameter or member 'nr_bkv_objs' not described in 'kfree_rcu_cpu' > > > > > > So, move the description for bkvcache to kernel-doc, and add a > > > description for nr_bkv_objs. > > > > > > Fixes: 53c72b590b3a ("rcu/tree: cache specified number of objects") > > > Signed-off-by: Mauro Carvalho Chehab > > > > Queued for review and testing, likely target v5.11. > > Hi Paul, > > I would prefer if we could get those on 5.10, if possible. > We're aiming to have 5.10 free of docs warnings ;-) > > If you prefer, I can send those patches to Linus with your > ack. That sounds easier: Acked-by: Paul E. McKenney Alan's objection is quite valid, but we will address that issue in a follow-on patch that will not be on the fast track. Thanx, Paul > Regards, > Mauro > > > > > Thanx, Paul > > > > > --- > > > kernel/rcu/tree.c | 14 ++++++-------- > > > 1 file changed, 6 insertions(+), 8 deletions(-) > > > > > > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c > > > index f78ee759af9c..03c54c3478b7 100644 > > > --- a/kernel/rcu/tree.c > > > +++ b/kernel/rcu/tree.c > > > @@ -3022,6 +3022,12 @@ struct kfree_rcu_cpu_work { > > > * @monitor_todo: Tracks whether a @monitor_work delayed work is pending > > > * @initialized: The @rcu_work fields have been initialized > > > * @count: Number of objects for which GP not started > > > + * @bkvcache: > > > + * A simple cache list that contains objects for reuse purpose. > > > + * In order to save some per-cpu space the list is singular. > > > + * Even though it is lockless an access has to be protected by the > > > + * per-cpu lock. > > > + * @nr_bkv_objs: number of allocated objects at @bkvcache. > > > * > > > * This is a per-CPU structure. The reason that it is not included in > > > * the rcu_data structure is to permit this code to be extracted from > > > @@ -3037,14 +3043,6 @@ struct kfree_rcu_cpu { > > > bool monitor_todo; > > > bool initialized; > > > int count; > > > - > > > - /* > > > - * A simple cache list that contains objects for > > > - * reuse purpose. In order to save some per-cpu > > > - * space the list is singular. Even though it is > > > - * lockless an access has to be protected by the > > > - * per-cpu lock. > > > - */ > > > struct llist_head bkvcache; > > > int nr_bkv_objs; > > > }; > > > -- > > > 2.26.2 > > > > > > > Thanks, > Mauro