From nobody Sun Feb 8 04:57:42 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E869EB64DD for ; Mon, 31 Jul 2023 03:07:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbjGaDHs (ORCPT ); Sun, 30 Jul 2023 23:07:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjGaDHq (ORCPT ); Sun, 30 Jul 2023 23:07:46 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FC4DE6F for ; Sun, 30 Jul 2023 20:07:44 -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=1ASI3dTvTFjELAY28G3zljY/LYDRlKcao8RliNhXMtg=; b=v+9b2XT0KEohT3hzCXWGxh6gqs 4EMPer3bScbQGIZPFYggeNlguBtZF/3rxeaX4a+dz86DNMeDRgPqZuQluRIrpkIksOiO1I425T/Ji mXIhlzOu+MAdC+NsmoBZ/VHurpdF4RUk5y64TvTwFWbz5VTd2/zWcki8MGwY93qKZgYqSSpucfVNX jj7iFZtnh51icvh+9jwn4oV/k8c/nVoU1ISvq1lyaVzem76ob239fWrO4ib9rbs5noP9Ds7yenLDD xmopntIrurW5tJebH0gj9Eq0ERwvs95oXUlFrlzXvAeb9zGIcZ9a55dESoR8E06KOdt+Hh+Qdnd7x CspAEaeg==; 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 1qQJG2-00DeqE-2l; Mon, 31 Jul 2023 03:07:42 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Johannes Weiner , Suren Baghdasaryan , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot Subject: [PATCH] PSI: select KERNFS as needed Date: Sun, 30 Jul 2023 20:07:40 -0700 Message-ID: <20230731030740.12411-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Users of KERNFS should select it to enforce its being built, so do this to prevent a build error. In file included from ../kernel/sched/build_utility.c:97: ../kernel/sched/psi.c: In function 'psi_trigger_poll': ../kernel/sched/psi.c:1479:17: error: implicit declaration of function 'ker= nfs_generic_poll' [-Werror=3Dimplicit-function-declaration] 1479 | kernfs_generic_poll(t->of, wait); Fixes: aff037078eca ("sched/psi: use kernfs polling functions for PSI trigg= er polling") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Link: lore.kernel.org/r/202307310732.r65EQFY0-lkp@intel.com Cc: Johannes Weiner Cc: Suren Baghdasaryan Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Juri Lelli Cc: Vincent Guittot Acked-by: Suren Baghdasaryan --- init/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -- a/init/Kconfig b/init/Kconfig --- a/init/Kconfig +++ b/init/Kconfig @@ -629,6 +629,7 @@ config TASK_IO_ACCOUNTING =20 config PSI bool "Pressure stall information tracking" + select KERNFS help Collect metrics that indicate how overcommitted the CPU, memory, and IO capacity are in the system.