Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp85925imn; Mon, 25 Jul 2022 10:42:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sr7DxhwjBCyZaJWvT60Qi2nYlCiMox0w68kyZf5rOgheTN880QT9ZY9TxAmDUpL96j1bVj X-Received: by 2002:a05:6a00:b92:b0:52a:e60d:dfbb with SMTP id g18-20020a056a000b9200b0052ae60ddfbbmr13949110pfj.72.1658770931021; Mon, 25 Jul 2022 10:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658770931; cv=none; d=google.com; s=arc-20160816; b=k5iIooVJf33VTM7NXOOBzF8mTd0w1SYN6B7uN1l8Az+AwwnlMXBLM14vwD827tVLsA Hr8l0kdUk2dCxMtEhfrcjmE5MdUHEeH8CxVN4Jgvh7gpauaSsUeFUOhudzoPdffKJoBg 0JRIZdhv10q45YYIzpAiOa/WniBDUob+jHJ68V0Tv9HrXWwnJrI2OYR0ytgk6hXyDngR A0fiblzZmCegHOiTKnD670c9M1R6U5fc6JyjWFpssoKX5eRIfd36yJyqKN7pfOHS+agi r8io1kzaz0hGgdNsXTkUPh3zkQ2Wx38ekJxTly0og/u0ZqAjCq5xa2nXNLIll/RuYPrY Gxxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=v0Fv+XIjssvZKgFM5LQcb8oFSEVF6SdtJS8HXkaCGG0=; b=RM6nzFPDVuZyeQclGuIp1kmcPmL6h77xxSc+f/Sf5XWfnVL2GVRI03OvPOBNXSgs2p gMDEhYVZAukn+cpn7Yn3jS/yALJ8gBv49Iaur90tK6gVUO0vuRe7K4IlTTln+efcbc4h KdbQlx/FVpNFRGUchH7mFHuGSZ6UXaoZdtwjGzlrRyq3vUabudViUJ+SC++0A3EvIGzE F15sSPCd/jeqTNbvBp6P5dhjhmg1B7KVCFxEvZa6daLsK+PK2tM8LgtdTmRZE4u6buN2 ZQqGNf118R/3RpguM5Mqr2ryHLPT2gYXY5NjKaeQDV/uLM90mvt+il91nUITixf9IhX8 VAOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=3QxjhGAU; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k22-20020a170902761600b0016d1a2523b0si13283080pll.204.2022.07.25.10.41.56; Mon, 25 Jul 2022 10:42:11 -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=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=3QxjhGAU; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236422AbiGYQl6 (ORCPT + 99 others); Mon, 25 Jul 2022 12:41:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236507AbiGYQlp (ORCPT ); Mon, 25 Jul 2022 12:41:45 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2F6D1DA54 for ; Mon, 25 Jul 2022 09:41:32 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id e5so8654002qts.1 for ; Mon, 25 Jul 2022 09:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=v0Fv+XIjssvZKgFM5LQcb8oFSEVF6SdtJS8HXkaCGG0=; b=3QxjhGAUDPV3GRaFaoJVT9T+OOXNTZ13AG3KfIqthhNKATudxFjJHRZqCYOcuJtIK0 RFbJelGraAA7ADvrFcTvoACcPEmPO9FHdXoZ8scMvZ8Py8hJjbUAcm3mrHZG2a+8dfiu jJz3k9uorP5zoWG0g9A1yrNwZjfRedzU3BbJtPZQy11Ts4/OnsNOyxJfizhK/cSQsr1W dhxkuga64cCsmfd+mdYtgYPikV83NIg0g+yxgnVHXe6T3jDOUIlyWm/irCW4nWCcsXY0 fG5mlS4HNpuKW4RgHgsxzBFfLfZn5aWfNFilSvvdsrIe8toMNQLojl9mc2J6c2NUYEOI IXKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=v0Fv+XIjssvZKgFM5LQcb8oFSEVF6SdtJS8HXkaCGG0=; b=MORrgUXIT4wqLBbe0+K0AfnC+VjEq0x/bbPtpxUnpXd0gsDvrqXnQ6KKluG7CPTxJ7 4+Kh0ZY8RXI/+DHOG8gFIuxvNrO3jgh4lfxz+u0n4oNyccJOYZE2m7Odnb4n8j3J37K8 QjK0oHDQ/OuQhf1x0R8z+uD2v3qiuGUTyJqOQLm0D7wgG2hTWaF0f7S0w8rX5GiJY+Mg mwpHp9YBhU5wt6lm3p7N6H5o71SIwGamGb9KaF+ig5c/UVucxobXl2MKaqrD3stvhkLm BOR+4O9EIFj4PNZC0m0v1UUpnjXsXi7YBtpLc0+LowGJHx5pDDjqiJXztsy63xMabd0p X4jg== X-Gm-Message-State: AJIora9JA+pJPTzXfO0wthqWbvWGrwxR/cSPBGUc1S7bndLFEOvlmEo/ Ef3DV61KDUxFPVKiYzznGukPaQ== X-Received: by 2002:ac8:578c:0:b0:31f:4be:8e00 with SMTP id v12-20020ac8578c000000b0031f04be8e00mr11152800qta.181.1658767292060; Mon, 25 Jul 2022 09:41:32 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::1:994f]) by smtp.gmail.com with ESMTPSA id t4-20020a37ea04000000b006b66293d79dsm1382040qkj.80.2022.07.25.09.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 09:41:31 -0700 (PDT) Date: Mon, 25 Jul 2022 12:41:31 -0400 From: Johannes Weiner To: Chengming Zhou Cc: surenb@google.com, mingo@redhat.com, peterz@infradead.org, tj@kernel.org, corbet@lwn.net, akpm@linux-foundation.org, rdunlap@infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, songmuchun@bytedance.com, cgroups@vger.kernel.org Subject: Re: [PATCH 5/9] sched/psi: don't create cgroup PSI files when psi_disabled Message-ID: References: <20220721040439.2651-1-zhouchengming@bytedance.com> <20220721040439.2651-6-zhouchengming@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220721040439.2651-6-zhouchengming@bytedance.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On Thu, Jul 21, 2022 at 12:04:35PM +0800, Chengming Zhou wrote: > commit 3958e2d0c34e ("cgroup: make per-cgroup pressure stall tracking configurable") > make PSI can be configured to skip per-cgroup stall accounting. And > doesn't expose PSI files in cgroup hierarchy. > > This patch do the same thing when psi_disabled. > > Signed-off-by: Chengming Zhou Acked-by: Johannes Weiner