Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1517579rwr; Thu, 27 Apr 2023 20:13:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5wS332hkGtdvMVraBuEDoLoKENtPsq0ZSqr7zxl4RVLVtW8sh16CyMcVuJxVM66BmaFi2B X-Received: by 2002:a05:6a20:244b:b0:f6:442f:37c9 with SMTP id t11-20020a056a20244b00b000f6442f37c9mr4506879pzc.39.1682651582445; Thu, 27 Apr 2023 20:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682651582; cv=none; d=google.com; s=arc-20160816; b=p0GuOavALnB/Q+PBBR4oQLQ8lMG1Udh2AX5ubAZSJXX2+jTOcJZ5U+bydWSAiuZwdf +SnwT6BkidLt4CSGEvEIPao/7dCBuzZyI8YG7XbosX/b8AD6+iKn8jtluzVjI5IAG7Tc x+uQfNbHbR2hsY8hrOT9chZ1HGa81fYHvDCMP7WkhirJNV1/BBVJhwg15XQtbGeZ/lIU /nt86cj30KzDvKcZ9uc7Pq90xep76YmnVFycUD5B72mSE9hh7WE+tqTPK8qMt/6EDAUy Loy2rXuZspHgEoPkWSzfo79dcKvowUK1ycFEI3v9WFPMIQDpNdch8LczSRVDral6p99C Rzkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iPaNTRr4YG/Sa60FYBv4xjWiredPl874QL6Kp29pXgA=; b=aRqY45+lS8GsHc0jK4LCpypbHtISbjdVJaRyDyb/Uz5OtLq60sQPktVIKeaT7LmCg/ huKa6AknZegkwwMBbI0y3FxveIwtpTvXVlYjTqoIsqn+5HxDDt96/TWfm2GGvaiI/kaH fS/aQnn4eaNZkSGEx722k0Qf44J8qKMeDXAyYb6zxBnf/jci446xxlicdRLA/nXqcxZj xOlnP+xZQQNbsP3j1TTxplEVnpabkA6b35adi2I7+1/jY9KuysaX8LQXiJW0aXDCn/PR ivb02mzEmZk8FMpKxh3Ua+PTHwktVw64SumLJsWDQfo4bcO8t07/vmK8lKL0taPjSq5V B94w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=c2UtG5vz; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p12-20020a17090a748c00b0024722164211si8391136pjk.127.2023.04.27.20.12.50; Thu, 27 Apr 2023 20:13:02 -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=@infradead.org header.s=bombadil.20210309 header.b=c2UtG5vz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345317AbjD1DMM (ORCPT + 99 others); Thu, 27 Apr 2023 23:12:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344947AbjD1DLk (ORCPT ); Thu, 27 Apr 2023 23:11:40 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8430B3C24 for ; Thu, 27 Apr 2023 20:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=iPaNTRr4YG/Sa60FYBv4xjWiredPl874QL6Kp29pXgA=; b=c2UtG5vz34cTtmPnNN9tMfsZrG sZo3oPG8rn0EzKN8JGMj5ssvBOK6Jr/tR2rQ0ZRvokxojShaLG58AZVRVhRNe6ThCu+OeNTGC8yed JHg6ZSpBnXhFxnmq5Hf3V8hXShiaa6kdJCfZUn80Pq9yDTj3IWzqLnQt1yvcv5Td55+IjjAP38HD5 FD9xumFNW8vkL2Xr+K7CKnV7NjzZYY3CpXzFWbShtEYpJG0PHWS58kBEuN9r+suS2GmMzY6tN7cQK bzh8995whBVqaQFQJDaewRURgmEFlsAlznGxzR1uoovYPDu289BV8UkUEH8UMJYTQtW0xutFwACO2 bWiA//6A==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1psEVs-0082rS-0n; Fri, 28 Apr 2023 03:11:12 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Mathieu Desnoyers , "Peter Zijlstra (Intel)" , Ingo Molnar Subject: [PATCH -next] sched: fix cid_lock kernel-doc warnings Date: Thu, 27 Apr 2023 20:11:11 -0700 Message-Id: <20230428031111.322-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_NONE,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 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 Cc: Mathieu Desnoyers Cc: "Peter Zijlstra (Intel)" Cc: Ingo Molnar --- kernel/sched/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/kernel/sched/core.c b/kernel/sched/core.c --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -11492,7 +11492,7 @@ void call_trace_sched_update_nr_running( #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( */ 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