Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4973464pxu; Tue, 13 Oct 2020 11:26:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygNQJ9tUmGetCY9fYafzOCSB6RhTOBKygc+M6JN4FJFVllmiwtHkQzM6WkpwWb+FpLnb4W X-Received: by 2002:a17:906:1b15:: with SMTP id o21mr1088693ejg.19.1602613562822; Tue, 13 Oct 2020 11:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602613562; cv=none; d=google.com; s=arc-20160816; b=X5aqev0t7Ce+6pFf1PCIrHy/XfWzoyMMqrA6BPDy8eHzIeVg9V7fr5TAQSxIcg7IQy y2eQ6Rih6hfXeo3mUzvlEE3xH4LF53mQzSGmf7XK4AraTbff9DsMJnCyuvC8vOPZRjye VksUR3MT2bUQmr73XSaSR28Lk+QI56B9xSn1pMVdu2GDOoiOOIohp5hRB/DARX6pM2dL lTx17Dmn+3IZrlyOSQKeJcQ5jbtOOe1N/UyYBo63hvwi/tvsj/Bxxd1hdSNXedfJOapk H8koD52gWD5LSBTJ+71yVcV7fQ2Zv+pY2A80TorkEgAlYOJiMa/DMcGGzvMQMXBvTsSG b/QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LarPftTR1NQz7LVa9+FF/8W7V8oK0en615jf6Bt2z6g=; b=JRIJ+sdcog9tfW3PZ4alXa59rLQYjx4+TV9hScPwDKB6C0lh4+NK4IAUIOSLlLgXr/ e7SKsbuPqXZyZ08MjLIqyXWcJJhd5PoNAKTgQH7S5X6/bHu9Ivs8W1D50ZfneHOCmAU7 x+YNNdyfWATTNSxtMetmjl4yO5bZo+wKI9osJVWEzriRreLPLHcpJwKOlj3n0yIWBG94 IBm5tZkUeW/jKBAz2ZF4mBHVOEiSNIQ2SGiHdif2XuWm958WSMMYPbxab2Ww4NpjEw+4 Q9BzbvG6KzerxbyxcCewOrZdBdANaqTcdHuoBgZ8IV1vOSQhAQlqF1bFNGI0Fhg3/nZl Mp0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zBP9gwsj; 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 x5si350183edr.413.2020.10.13.11.25.39; Tue, 13 Oct 2020 11:26:02 -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=zBP9gwsj; 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 S1730599AbgJMMBR (ORCPT + 99 others); Tue, 13 Oct 2020 08:01:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:58022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727439AbgJMLym (ORCPT ); Tue, 13 Oct 2020 07:54:42 -0400 Received: from mail.kernel.org (ip5f5ad5b2.dynamic.kabel-deutschland.de [95.90.213.178]) (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 7C7D92227E; Tue, 13 Oct 2020 11:54:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602590080; bh=SAVn8enQ4C4UTfYln5jnWV4ibLgb6yze8aWC+I7yQmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zBP9gwsjjN4sbW/yfD6L2YmZt8h2Vo+v6uUVD2fnRhkilVtkIy7qNu4K4eKxAx/At Uuc84ALKoCOxUBtakZNNxK/LwxJGyhsJOEFDKWAb08K6TzKVYUKyHQ8c9ZD0mnz+wS OAw9VhbiRFTIJ9/xTsG1x4Gy3r+P4WQabS2C++cU= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kSIt5-006CWW-Oj; Tue, 13 Oct 2020 13:54:39 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Paul E. McKenney" , "Uladzislau Rezki (Sony)" , Joel Fernandes , Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , Steven Rostedt , linux-kernel@vger.kernel.org, rcu@vger.kernel.org Subject: [PATCH v6 70/80] rcu/tree: docs: document bkvcache new members at struct kfree_rcu_cpu Date: Tue, 13 Oct 2020 13:54:25 +0200 Message-Id: <6dd0804d6fd567f11e4c6efb767e91acca659d1f.1602589096.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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