Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6528908rwb; Tue, 9 Aug 2022 17:48:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR4IyVBFHfvxnGprFIFu4/ZuhcjZC0Vsax9Rh5EhZCruDBPCIqtibXi7hQbW6KsOEhYagSqr X-Received: by 2002:a17:907:3da7:b0:730:cae5:7f7d with SMTP id he39-20020a1709073da700b00730cae57f7dmr18462188ejc.711.1660092482031; Tue, 09 Aug 2022 17:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660092482; cv=none; d=google.com; s=arc-20160816; b=fOUpyTLxmI71LaBzEqf4ua6ZuUR0TkgyIjxpkU2gjrs0ZAmewtvaEgHi1vamBCwW6u 4Vxn0Go8zxnsjqkT+dG56OhSVJRzcJt6yS8cgQROj1a4oE/6hY0AMd7cUAafjFUQJppe bWpVzx6WCKdDvXV9AUcRQYV56njuzsOeygM3AN/4qDzzE6X1g6ulmjWyNu8/P4hyAlH4 /BJMx3zuZYzoRy3SQEVucOdM1yfRIHkiy4hNO8wtj+Qoll01hw/h8WOdsus/UPLGCu+1 dHnFaPotUm5/rErJ31U/Zw9DGT3Elr2cjSGE6Qat2Ye/Im1jU25gVS2Bm4a8hLREKoIH ngMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ocEP/lNDBd9drcOoXjaUPHob3Xt7j2o+0tElmpQe8kw=; b=T/mKxfmht9D5ap02yfnPYRQZNGzmyVot7yPFm6Gx0Y7zEAeUJhtSk+7adJXTXJAKhU 02CI7DLwGqUdkLSA+owPFp04KWQLs0ULwyngM9ueP6gp/1x/HwF6D1k30Dskkax6XUmP Cm/hXBQX9+JsiNdFNUsxRLo5yTmKGoocDFU3M88YZPanTJ1izuN4kcKGCiHb5kycwB8L IG7EAk3b3nl+pVVUqiJ0DlZNFACDb9eBUB32X9Gw6gxupnEcNq3/48aILsAAkZJjc+5x juuTsuERWvV0DZMo8EDFNr9l+Izj9UUbkC5U0hMiC/b0oFEc2Tf74hrsSyEwVhNvhfTW jA1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=C4FtFqDt; 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=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g3-20020a50d0c3000000b00440367fe313si9917477edf.305.2022.08.09.17.47.13; Tue, 09 Aug 2022 17:48: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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=C4FtFqDt; 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=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229477AbiHJAjS (ORCPT + 99 others); Tue, 9 Aug 2022 20:39:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiHJAjP (ORCPT ); Tue, 9 Aug 2022 20:39:15 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5A8E7822A for ; Tue, 9 Aug 2022 17:39:13 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id m2so12858372pls.4 for ; Tue, 09 Aug 2022 17:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=ocEP/lNDBd9drcOoXjaUPHob3Xt7j2o+0tElmpQe8kw=; b=C4FtFqDtCzEkv0O1zcdw15B+2OlUOBYzsJ+8jzPlnxWMk8K0WhIVNgtDISELPpkpJ2 jYaoqwljoN9EI4J3bO4++EE1on9SLpz5WlGEUR6bgWI5RVwjrtsfPsfDxnsZwKldlCZ2 MieUGAwNz+kZh2B6o+2nTjimIuZtE15+bOogRefCzNPBJlEUTtwiVpMlVJlUKBBf4AHa KKi3C61McekchJ5Hiw39yXSuof3TPXd+s2vikg6WDtxY9aSvjwNpnjTqr1Z5TR0dbv2n m2uCOjT7G57wfLV9G9GywDVNSq2r5MUmW8TkCl4E1Wo0y7qldg/xtiT5TyB+//x1IBHM QGhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=ocEP/lNDBd9drcOoXjaUPHob3Xt7j2o+0tElmpQe8kw=; b=TF3lHknjWCuq24gGUBezzAQyrJj+G89qyDN/lDXoawhF5eOS6WLpzxeTBr6ho6uDgA +O7ew6ls0QmqFNPaTemVh1rdkmmi5+Dw1izh+40hoodzz5W+UtmWXxQlDY3BRMK10WYD VhnEgmqZHctMSaMcNhT4suDh/SeglLGPG6jc8YS9HRkadjGLE/SoEccush74TjHCa1tm k7FLfvKpKUdQhM+4Jon+hwGetv8347tOv/555zave28RDy9ZD8Sz/uPjDQoZM8Yh0R6F iiLM8jpT+RF0Ycvg8T3yaP7BSMA6Vr7AYHUvqUAQr3RaRv8hnYDlEmwBxudIOfL1MJgh 3fAA== X-Gm-Message-State: ACgBeo0kSPCmrFCMHI/9srX1lgToNxJNSsPAv2eg8JoTeun9AVIsWJhx 4fVyMmj2WdZ9OrItBPvTDPRj4w== X-Received: by 2002:a17:90b:4a50:b0:1f4:f1b9:d21f with SMTP id lb16-20020a17090b4a5000b001f4f1b9d21fmr981964pjb.185.1660091953281; Tue, 09 Aug 2022 17:39:13 -0700 (PDT) Received: from [10.4.175.112] ([139.177.225.233]) by smtp.gmail.com with ESMTPSA id z10-20020aa7990a000000b0052e988c1630sm487753pff.138.2022.08.09.17.39.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Aug 2022 17:39:12 -0700 (PDT) Message-ID: Date: Wed, 10 Aug 2022 08:39:05 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.1.0 Subject: Re: [PATCH v2 09/10] sched/psi: per-cgroup PSI stats disable/re-enable interface Content-Language: en-US To: Tejun Heo Cc: hannes@cmpxchg.org, corbet@lwn.net, surenb@google.com, mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, songmuchun@bytedance.com References: <20220808110341.15799-1-zhouchengming@bytedance.com> <20220808110341.15799-10-zhouchengming@bytedance.com> From: Chengming Zhou In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 2022/8/10 01:48, Tejun Heo wrote: > Hello, > > On Mon, Aug 08, 2022 at 07:03:40PM +0800, Chengming Zhou wrote: >> So this patch introduce a per-cgroup PSI stats disable/re-enable >> interface "cgroup.psi", which is a read-write single value file that >> allowed values are "0" and "1", the defaults is "1" so per-cgroup >> PSI stats is enabled by default. > > Given that the knobs are named {cpu|memory|io}.pressure, I wonder whether > "cgroup.psi" is the best name. Also, it doesn't convey that it's the > enable/disable knob. I think it needs a better name. Yes, "cgroup.psi" is not good. What abort "pressure.enable" or "cgroup.psi_enable"? Thanks.