From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87A2E11715 for ; Mon, 11 Sep 2023 15:06:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07C80C433C8; Mon, 11 Sep 2023 15:06:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1694444794; bh=1Ys1HDMifCoyYMdonIIOdP55VVHEsIP2nS9nHZZbohs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W1HInhBc4s+DggDhWJ/o3Ayf5iEP8p2ex75bVFEa/5bwaacYJsK4C3ra1Ea6SyQLQ oBzio4VI+wNrexSmOk80+HCMflSTNdwZKMxv62AkmID5sL0uBxe0/h+mCoqnunViMg +/lK6DEDZIhQ0BjT7OgosdtroaspFt51TNtKt1QQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Randy Dunlap , "Peter Zijlstra (Intel)" , Suren Baghdasaryan , Sasha Levin Subject: [PATCH 6.1 117/600] sched/psi: Select KERNFS as needed Date: Mon, 11 Sep 2023 15:42:30 +0200 Message-ID: <20230911134637.066539223@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230911134633.619970489@linuxfoundation.org> References: <20230911134633.619970489@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap [ Upstream commit 98dfdd9ee93995a408192dbbf3dd219ba23e3738 ] 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 'kernfs_generic_poll' [-Werror=implicit-function-declaration] 1479 | kernfs_generic_poll(t->of, wait); Fixes: aff037078eca ("sched/psi: use kernfs polling functions for PSI trigger polling") Reported-by: kernel test robot Signed-off-by: Randy Dunlap Signed-off-by: Peter Zijlstra (Intel) Acked-by: Suren Baghdasaryan Link: lore.kernel.org/r/202307310732.r65EQFY0-lkp@intel.com Signed-off-by: Sasha Levin --- init/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/init/Kconfig b/init/Kconfig index 2028ed4d50f5b..de255842f5d09 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -627,6 +627,7 @@ config TASK_IO_ACCOUNTING 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. -- 2.40.1