Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4985201pxu; Tue, 13 Oct 2020 11:45:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwc9UYntlARpKmImuOprW5RmEY3RHpaHOjd/8D6OR7/MZrWe/qYEy0vk9/cfrJgXBO3EyTa X-Received: by 2002:a17:906:b04a:: with SMTP id bj10mr1126780ejb.303.1602614713902; Tue, 13 Oct 2020 11:45:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602614713; cv=none; d=google.com; s=arc-20160816; b=sl6PR51/+sJRZFQFq1guJ76ytOVCsS97p5H2dvD+u+Gmta8/07DOh3t60Qa1rO4m5r Dh5zCcVdjcjehshXAWBANnzQv3+9ea9H8cI26wcMy3zQUdqpc8PT7cOKXDD6Oqed9XH1 FsgYD04boObQzKv/Jp1HWbmCEPPKiUSeXI3ct7CBCa5QBwCGjxNZA9yURfpqSqE/ACs9 8OGv+O9jjtGnAetB1Vh/AgOYzgb0qwcrbmQ30XkjMFn5MTI2C0qQx+UKMq8BA6JG4JR6 71d5jjjGQtbK2pmftDs1tzrCDeGBt5Lp3pDfi5dKu1szGdfT/5LiIzh0q85lAlfGmMmE gUUw== 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=3QHZ2KsCz3JzhOW81cKFUbwFsaYrC4Cpbrs0Fuifol0=; b=d7F0ifepMAKuBREMLLkgaWxvihg1V1/tw+iNoBVtW6BLAeQiXjwMN6Qnc8ZGh/TmJn Kb1ZOKyajXQOEvro9DldI4W9HhzH2K31ea1q1E4YKhKNEx/866B6vMzwvGvnsmiaTT0K znu2RMBVwfYCND2kQB1lQdDLJkCxpx5dU96+aLJxpNW0rm6tVHltDNF9nDJb4ZzU7p5f 6z8uMxo964uhYIMXl8NN/4HGh97O/p5m9w2wV0SaeCc+V6xq1D3sd1kU8ASLaWsOxxm7 Z0WyYkh2X7SJYofVLIDFsRcgK1q2Dg2ydGU9XvYhBoP0owy+ageBZX/NI+QZBXF45oQL o1kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xU1F0SkQ; 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 d3si388803ejy.232.2020.10.13.11.44.51; Tue, 13 Oct 2020 11:45:13 -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=xU1F0SkQ; 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 S1727258AbgJMQeF (ORCPT + 99 others); Tue, 13 Oct 2020 12:34:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:58804 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbgJMQeF (ORCPT ); Tue, 13 Oct 2020 12:34:05 -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 C9F6225298; Tue, 13 Oct 2020 16:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602606844; bh=r+85fSMCDOxwAe4TvrYGl0G0qWopOPgFVSKadDsPvHo=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=xU1F0SkQ6zvDSM4LoD/Oyots66oZze9PaUGMR2Q8tVHLVvOhZ2rHTul3JtRNuFXK+ DRFXUk2SsZAFInDHe3FtHA1/lSnMif0N0PMedGwoFvTf+HDgtPYTt14JxEmjqsZKgJ JquLS1E2aTqBpKjaodoznmLxYOIR+908FL4aihA0= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id A9AFE3522A36; Tue, 13 Oct 2020 09:34:04 -0700 (PDT) Date: Tue, 13 Oct 2020 09:34:04 -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: <20201013163404.GP3249@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <6dd0804d6fd567f11e4c6efb767e91acca659d1f.1602589096.git.mchehab+huawei@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6dd0804d6fd567f11e4c6efb767e91acca659d1f.1602589096.git.mchehab+huawei@kernel.org> 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 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. 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 >