From patchwork Wed May 10 13:26:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 92088 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3627598vqo; Wed, 10 May 2023 06:34:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5c//u4z4/7uVYdKE9RWmQ1CXrLKOxl/YXp86v9sTtb4thdB37sLgpwlwOEcbmZeMTk4hOg X-Received: by 2002:a05:6a20:2452:b0:f5:7035:99fa with SMTP id t18-20020a056a20245200b000f5703599famr22736541pzc.57.1683725646488; Wed, 10 May 2023 06:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683725646; cv=none; d=google.com; s=arc-20160816; b=rugQ1ShiMdbqzenk5YVEFjMmqIS8Z6g4XODZDJUhAAyDa89Bif2TodjdnWzwrGcCGl gyfg6fl9wbIioV7eP0FKvcA6maoLS1hriNEW4tOhpugXL+HXyP2fqgm3YnN6emH4Dim1 uddrFKgq62ixGnWfYktG8KmwOjlgRsHdn5RlLg4USMv6nY9i+LBGIaamXJ0ShmX/9gj7 HDw9PDGLJJbpduTHScCOeEkMxGFZJkdA7fD3cBKSzphON1rO/CvFq1xmXjxuFvlhvjRC La0kHpYbqhv+ysGe4nGJDY/GlekkPrHpaViY4otXmA4JZChw2EaMdaI5Q86DxpVkaxkT t1ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=UVknTNt976+E+pdbpfYQXjSnp9XJ60CYSW5lA/PZPHM=; b=QWr52/EWD620LUV5hb+bCZpk9nyuKLKJO3frIHP+c4kFaGFGCuXeQTJfXsE4Jr8nXL +ObzHji0h6frsTH8BvskUPzLSxcVJb/3T2ROoB4JmuGXf+AwJZa/k8E84ZrUksolDEbL o13mrRZTfgSo5a3xfGClIzz24P5u5+sr40tze46ZOgYGOO4Dfi47kwfhUNTZoOb6Ipvs vx5D4nktcpp+EqZBE0qn45r84NDp3jLYXj8u+VSRM0AtRH5ov8e+I4scGE8aLk7EQxYs L2SyLEHy6B5C3PGCBExhfH0HT4krnVEImUfEYCrx3Q6YHcf7QAXxwmJQOp0hL3UKkKvO KOwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=cLDXYrkp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=RCyDWHA7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v184-20020a6389c1000000b0051f00f9c18fsi4025306pgd.760.2023.05.10.06.33.53; Wed, 10 May 2023 06:34:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=cLDXYrkp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=RCyDWHA7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237101AbjEJN0j (ORCPT + 99 others); Wed, 10 May 2023 09:26:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237090AbjEJN0b (ORCPT ); Wed, 10 May 2023 09:26:31 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB01900E; Wed, 10 May 2023 06:26:14 -0700 (PDT) Date: Wed, 10 May 2023 13:26:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1683725172; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UVknTNt976+E+pdbpfYQXjSnp9XJ60CYSW5lA/PZPHM=; b=cLDXYrkpHLmSM/skeWKoU11K/+DdhDzAusCKxSaZLyWK+8rmpt0m6+yquIX9eANZDWgJjM vhrjLf0YcSu/k3lFSm9/zlujC3LkEwymTv5105T+s3ZBLgV2FlpPoaVy3Xdqg7bpAU1vgd kONDcnRoZIaeX9Qy8xnNpZ9EPMHxdWclP0tWo+piEvRpJLKc9sGTBEpYi1iNKyElfiWXih ZLHslBxLZ+42+z0DKOsxwMVODosPz075rzlIzPipdxbU4ThoKNq+czdu+Rkltzijc6D7tG /ocUbiL7Fn+bP3dHN1ReXsPPkjzg8SV3C+aLLs2cVN8tF0GtCSHFFQj2hrBxaw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1683725172; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UVknTNt976+E+pdbpfYQXjSnp9XJ60CYSW5lA/PZPHM=; b=RCyDWHA7HXCrvYKuRRrsFNqHDqPoLMqlGuBnPWXexleJpTnv7HJeHZTLt5WGvZ7ZJG+9bH WdUsqI8BJds+UjBw== From: "tip-bot2 for Randy Dunlap" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/urgent] sched: fix cid_lock kernel-doc warnings Cc: Randy Dunlap , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230428031111.322-1-rdunlap@infradead.org> References: <20230428031111.322-1-rdunlap@infradead.org> MIME-Version: 1.0 Message-ID: <168372517178.404.13654987530273728202.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764388143420231492?= X-GMAIL-MSGID: =?utf-8?q?1765514303437346221?= The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 0019a2d4b7e37a983d133d42b707b8a3018ae6f4 Gitweb: https://git.kernel.org/tip/0019a2d4b7e37a983d133d42b707b8a3018ae6f4 Author: Randy Dunlap AuthorDate: Thu, 27 Apr 2023 20:11:11 -07:00 Committer: Peter Zijlstra CommitterDate: Mon, 08 May 2023 10:58:28 +02:00 sched: fix cid_lock kernel-doc warnings Fix kernel-doc warnings for cid_lock and use_cid_lock. These comments are not in kernel-doc format. kernel/sched/core.c:11496: warning: Cannot understand * @cid_lock: Guarantee forward-progress of cid allocation. on line 11496 - I thought it was a doc line kernel/sched/core.c:11505: warning: Cannot understand * @use_cid_lock: Select cid allocation behavior: lock-free vs spinlock. on line 11505 - I thought it was a doc line Fixes: 223baf9d17f2 ("sched: Fix performance regression introduced by mm_cid") Signed-off-by: Randy Dunlap Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20230428031111.322-1-rdunlap@infradead.org --- kernel/sched/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 944c3ae..a68d127 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -11492,7 +11492,7 @@ void call_trace_sched_update_nr_running(struct rq *rq, int count) #ifdef CONFIG_SCHED_MM_CID -/** +/* * @cid_lock: Guarantee forward-progress of cid allocation. * * Concurrency ID allocation within a bitmap is mostly lock-free. The cid_lock @@ -11501,7 +11501,7 @@ void call_trace_sched_update_nr_running(struct rq *rq, int count) */ DEFINE_RAW_SPINLOCK(cid_lock); -/** +/* * @use_cid_lock: Select cid allocation behavior: lock-free vs spinlock. * * When @use_cid_lock is 0, the cid allocation is lock-free. When contention is