From patchwork Wed Aug 9 19:34:57 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: 133474 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp3044485vqr; Wed, 9 Aug 2023 13:08:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGD8zdTfSgycQCSTy+rbB3+WXspSeTqlkbhpKVWEElZkr+25ZdO8IhTSIZs2jrb6EQE2ELe X-Received: by 2002:a17:906:5daa:b0:993:f996:52d2 with SMTP id n10-20020a1709065daa00b00993f99652d2mr94222ejv.20.1691611681030; Wed, 09 Aug 2023 13:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691611681; cv=none; d=google.com; s=arc-20160816; b=T3XzMUUVKR02LvcDAaaNezNq8hRPHqKMU4O1uV6sEgJGujqZJ77HVWIkCJSXTvuQRH vMVxJ0XAK1eRiXLZFxBiqIVRMG9ukxuT6zerpnWsDm8aZ1sqVIpYCvO1z1kW4ubHQysu HfjfmbWrEWVGiFx/LX3eDyERtIv3Ntt8t9uit3RfjCvBf243TQ0l33F8OndF2MVvCJcQ 4Ik1Cm2QbAM+1rZgApvdlN2zoaqjvxv/kvEDxokDxlcRq9/QDWn0pY92NgNGgCDLRFPS oH3gotseewj6fQfigZmTqqeTzw+8mBi2XXaWEbLyHc0N26XBi/Nia0eWJ9WXgcVoJaPK bDqA== 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=OaN2WQvKSAOTqCbHsFrBwMGt9Wk6Yf6DrRMppzjalyE=; fh=3KSKytDEzY1wtp6IEKflQWDnv3Q7knahT/WUEeKp1LE=; b=hFgENhGFfoFxMy2ToZZMN4SOaLKzdB11G1POrlrF2VYMSx2RW5zkK0n1/3HifKuvW4 XoWlQEnbnxSW3ucv7O1zidFOKKC9P6Ijjx+2ubigXyTm0cbZpaJOF06p+NXhuiTxQ5SH HrN/cpQvCURwq0dKLW1v6/l+3k1BrOjYQscuSvOFyhXkMiQd69Fg7aIOA32BJ5PA3Ffp y8i2LkMYd55s4ZNOCNLrX9E7tTyKU0mgORcVPouf1eE6hKSl3gZCKqI7iE11IF61jlhx sIOn4Wfu2oNxZbuYc0FyTvifKN5ZVTlRm7CiL0Uj8KCG/MtYw/bTDtNpMyS7/4TCYM66 oIpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=yhvYJIky; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 ga13-20020a170906b84d00b0099bc2493e79si8113608ejb.585.2023.08.09.13.07.34; Wed, 09 Aug 2023 13:08:01 -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=yhvYJIky; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 S232982AbjHITfK (ORCPT + 99 others); Wed, 9 Aug 2023 15:35:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231685AbjHITfA (ORCPT ); Wed, 9 Aug 2023 15:35:00 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D43DEC6; Wed, 9 Aug 2023 12:34:59 -0700 (PDT) Date: Wed, 09 Aug 2023 19:34:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691609698; 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=OaN2WQvKSAOTqCbHsFrBwMGt9Wk6Yf6DrRMppzjalyE=; b=yhvYJIkymYOJ0XeoX+y4G6GBGyYFUMGNaKUuOR8/sKnGPktt14DQhSAZLjnlVifNwHF41e lzPf0o8HfbJX5yzsMIZmWrRZPjc76fRkVbre2QuYSDv9Z6cBcJW2Aq0jLUR1gm3s+kVQQk 2YS6EGWjZYk1xAC07HU+e7sOKueBOP5htf/5HC/pmG/8eAtY9Rb/7v0252Hj+7kql6+Oho rzI2+iqdRpLreiEic/HhN80UYPElKk0cd1DIz1Y0gScGf0jxaJxnxbjFTHBTePzbssOitF eRdz59yivNb0rjEcWEv/B/Vw+VSA5EIfk/ZSjVl6YDXNgIH1IJeRsyoVgO9sRg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691609698; 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=OaN2WQvKSAOTqCbHsFrBwMGt9Wk6Yf6DrRMppzjalyE=; b=vIk+Amrsp72K8tCePAJMP9OV4J2KWbcvcfazQLc34tJF+3k2vlL3oveHz6Z/+KyGsyAK8A i+OyenFsi0gw2/Bg== 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/core] sched/psi: Select KERNFS as needed Cc: kernel test robot , Randy Dunlap , "Peter Zijlstra (Intel)" , Suren Baghdasaryan , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <202307310732.r65EQFY0-lkp@intel.com> References: <202307310732.r65EQFY0-lkp@intel.com> MIME-Version: 1.0 Message-ID: <169160969796.27769.8398357124658941325.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,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: INBOX X-GMAIL-THRID: 1773783410273686758 X-GMAIL-MSGID: 1773783410273686758 The following commit has been merged into the sched/core branch of tip: Commit-ID: 98dfdd9ee93995a408192dbbf3dd219ba23e3738 Gitweb: https://git.kernel.org/tip/98dfdd9ee93995a408192dbbf3dd219ba23e3738 Author: Randy Dunlap AuthorDate: Sun, 30 Jul 2023 20:07:40 -07:00 Committer: Peter Zijlstra CommitterDate: Wed, 02 Aug 2023 16:19:25 +02:00 sched/psi: Select KERNFS as needed 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 --- init/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/init/Kconfig b/init/Kconfig index f7f65af..5e7d488 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -629,6 +629,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.