Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2290244rwb; Sun, 4 Sep 2022 12:30:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR6fzs34M+2PV6ly1Gl5IenY3Pr9ILekJNJslxEdH/JBFBRA2egtw7TakUry9d7JITes0Pth X-Received: by 2002:a05:6402:1f13:b0:44e:97dd:7b77 with SMTP id b19-20020a0564021f1300b0044e97dd7b77mr171477edb.300.1662319859107; Sun, 04 Sep 2022 12:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662319859; cv=none; d=google.com; s=arc-20160816; b=tqFwi6KQ1R5PANdx4WpqqEEr49Ki2u3i5AI8CsHK8on8zurbJ3CaVmJ2RYH9bflP3n zlGE6xbfr1UEPOx2jXLIYfKbmMai/INOaugBDNX+Vacogr80mTqOVMBx7vAG96pGXAaX YB9YKC/PpNci2v+MU4iKYR2ExEkbRlH6w7u1L1BBvdjlVv3JhQXdaloMmfBf9/bfMsQw PbuFtUaukwFbeEMdjWtT2B9o0QyHTBUCPdcrykLtEAjjak4UVb+Slwjywnw1hCo4Sa8y SeH1TMI92Zbgk2fzcOleAyDu8dkcxv5BTEo71TJ0yO0OGLfm/INqDH3hta9wrZfkPlW2 0vxg== 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:sender:dkim-signature; bh=hhOqEPi04AV0wzekaFieSTX5YqMIIS7ffO//I6J4RAA=; b=yNMjb4x4e9JnJ2BS86TslRpcPWOvSCKdyYuRqIubg2UVlBwXA5zYuV1+EhK5QKPkOI zO+vANplPkltUtr6dm4At1b1JhIVt4iDGUGD2KNCZadX9bzAzxe2KqhoACrzqahM1vU8 hfcTLRoxBTca5Fa57HBC5ULiwHa1dy9Zgdm59S5PlUtgItT4LQPqlSo0d7bUJ22HnU4b tXoYDNAL9RrgoH8Kw5URUYkI+ldulZgz9RneY/ZKQ2aZcaGjX6ThvWhQccmU9u90CVkJ AGL71kr0bva9z9KbbaFnaVQ0LvPlXKnIALoRzBkf40ddzfDjBsKMiQObFIqUcBj58XI8 Mqsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="FEZwae9/"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk16-20020a1709077f9000b007309621c10fsi6598795ejc.699.2022.09.04.12.30.33; Sun, 04 Sep 2022 12:30:59 -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=@gmail.com header.s=20210112 header.b="FEZwae9/"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231982AbiIDT10 (ORCPT + 99 others); Sun, 4 Sep 2022 15:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbiIDT1Y (ORCPT ); Sun, 4 Sep 2022 15:27:24 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F1E829811; Sun, 4 Sep 2022 12:27:24 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id q15so6763173pfn.11; Sun, 04 Sep 2022 12:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date; bh=hhOqEPi04AV0wzekaFieSTX5YqMIIS7ffO//I6J4RAA=; b=FEZwae9/shgAqtAoz1u27GSJjFWXeDqCSu1PMccOHcDQGVz5GYgDAzszVgxLj8iOaN +4a/mXPUPzWnZ/1pi7uSLMGBu6MIUap1IcF77lgwifRAdKKCVSTDN6JKxJpyD3YDT3qo 0WSZf66SAVbfDjeVLGNMpiJoZSZuGl7hizBxZFoHQhsWbJbZJX1+eFgknt1yhiRo0kiW WHX5qZrHY0yLkrFdFhAH2DQwCXZkmt4oIKNTbojp889xacGf5uMxhRXzazD7mBmY8N49 CRi/m0I1/MneBQ+MyLFdD7arbFBzRmE/XIhzduSiPDK7SW23TUukKKKXcVZdGQMJckAW g17Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date; bh=hhOqEPi04AV0wzekaFieSTX5YqMIIS7ffO//I6J4RAA=; b=qOrMzqpuEl6cBMdVg88Hsql148vV3X+lOCxH2hx6Wj3yf9j/YnXmB1PLU8/fjwvRXY Mua3rojzg0CtHJhNBsz4jjdI7GvEGBbXAqCiHE5zoZ8pkDKhfJSGB8MKxemUptwJrnE4 2tS8rz5jcBoiY1Pa7YX8ktmdPWAUfeePJaO5NWfz2NRKqGj24up1MJzfNJtuegc6WxtK GVI3VRNA8aMdMZea0BMMAEvRjRIEK7RwQMULvoUNOKQYeNHbqirwnwV6BcWXZIIu53SW 9/DSZbCj51KxPUKOjoSjGkAXajzxhzHByZkX5IFQa5+amvMZG5ic3wjCfyL54Rten9hb eV+g== X-Gm-Message-State: ACgBeo1J53LPDtCvtVMD+9dSrqudVIr4n/698qRsoet3xdX3KSPqib1e 4DC05B/JpbzqAxLGKDRJHTM= X-Received: by 2002:a63:211:0:b0:41d:946e:cf67 with SMTP id 17-20020a630211000000b0041d946ecf67mr39156973pgc.497.1662319643362; Sun, 04 Sep 2022 12:27:23 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::5:291b]) by smtp.gmail.com with ESMTPSA id v126-20020a626184000000b00528c066678csm6010528pfb.72.2022.09.04.12.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Sep 2022 12:27:22 -0700 (PDT) Sender: Tejun Heo Date: Sun, 4 Sep 2022 09:27:21 -1000 From: Tejun Heo To: Josh Don Cc: Zefan Li , Johannes Weiner , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cgroup: add pids.peak interface for pids controller Message-ID: References: <20220831224903.454303-1-joshdon@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220831224903.454303-1-joshdon@google.com> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, Aug 31, 2022 at 03:49:03PM -0700, Josh Don wrote: > pids.peak tracks the high watermark of usage for number of pids. This > helps give a better baseline on which to set pids.max. Polling > pids.current isn't really feasible, since it would potentially miss > short-lived spikes. > > This interface is analogous to memory.peak. > > Signed-off-by: Josh Don Applied to cgroup/for-6.1. Thanks. -- tejun