Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp583444rdb; Tue, 19 Sep 2023 04:42:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEH5GQgVdRV+EjUd7IJXB6VKJUX4qO2Lzh8/T2VAsUsCbB7vzY5Oc7v1cRDiQveTaX0YK1c X-Received: by 2002:a17:90a:300e:b0:274:922d:4b35 with SMTP id g14-20020a17090a300e00b00274922d4b35mr9450538pjb.1.1695123722544; Tue, 19 Sep 2023 04:42:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695123722; cv=none; d=google.com; s=arc-20160816; b=YsZ4OaKgMoyKAY0VUC1I14qA9B6jkNVEQR2W9gsKu5SAXLy9cec1wt9qcGgnmtrNwr lGc2zX9bKUmEDCboKmZ2KxItELjZz9uwgV7U+0+u/32mOXrj9/Wf0zQm3Ldx3oWzPrQY RGBCvejjoV41yTOo7rIOwigKeg/o/AwJvRdWYmtcqHpiPhJ0UXkocW2bQCHxVpo1+94C r74Q2g2cQ6JeBRuSdqBgkqUesMQFEQPekyY3gbgrnCvB0iFJOCgldf4CRMy9JuZdPaMO MF5cpFOmNp+gQtoIMrCz478QkfoqLNxlIWqty6KU5ErrU0TxgWHrfk2FtDIVDbJFzCTk uoRw== 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=lPhgdY/CmzoobfbrK6uZSQDRjVzzTjVIIZJoiShDRQ8=; fh=wuyuMrFQwANWfqbPdKBZNVQXFcYJv9/7++2/vP7iHUw=; b=FUafmClS+2IJPx1d9vZwVyuwaNj9dSPKjMiBjbww26mZmMiyClOUH5ZAPmLT2UAumE aZqOShrdmL0ImqvKwpPS8LeTtpAPhElMLEdZmhMxQL+HJkospXCXdfQTCxD1HF00NcAv G+WDgmBk7DLF8c2cZVQ3f+nGVOydh6ZUshU4LUvErK3SY8DhmivdiBGTyAmYL//Ukf67 kYhLoz81e6wjawK7DvSF1u0owF7FbwwPh7APSy7fGyBFAeiID/fYLVVv2PC2ith8Ezqr GuTa1TOlRg8Tt+0zpS4ocgqSqLh1xuRgQ5PXr1ZN0jxAVsEEKB4VyLwDekOjeYd6eXba nFCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WHBZpebE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ls12-20020a17090b350c00b00271bea73dcesi12129079pjb.96.2023.09.19.04.42.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 04:42:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WHBZpebE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6EF1A80DB9F5; Mon, 18 Sep 2023 10:47:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229691AbjIRRrY (ORCPT + 99 others); Mon, 18 Sep 2023 13:47:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjIRRrX (ORCPT ); Mon, 18 Sep 2023 13:47:23 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 508F8DB; Mon, 18 Sep 2023 10:47:16 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-68fbd31d9ddso3685088b3a.0; Mon, 18 Sep 2023 10:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695059236; x=1695664036; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=lPhgdY/CmzoobfbrK6uZSQDRjVzzTjVIIZJoiShDRQ8=; b=WHBZpebE02E1wErRLGRIM+C4JllVNMWT4idpU3lhC8boizv/+y7d69c/VQYQBmzuY8 +f7d08xMWcRZqU6rSAZU0wFXD60ePk0fM17Q+8lTdE1U5E51DpcrBtstKc595sHz+Dxt 4Cge0Eqwp1MOsEpU3OXuUZDY5SOA/RkAT7o46Qp3ZqK1J/mzGBqpFKsoMzaDWeeOjv9/ Be6gs1MkquHVz9jqY2/cJP2gw1b9kCFfDeOiIOkys0Yb48D66GBTC9F63xfCw13acsyo HMbEGK9TZ8Bf9TXOVREVylWgMbLFiaW+SIl+oMfo8hX5A8hW4M0HXibxq9FvxKmESAXA pdHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695059236; x=1695664036; 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:message-id:reply-to; bh=lPhgdY/CmzoobfbrK6uZSQDRjVzzTjVIIZJoiShDRQ8=; b=jZoiylMocx9oUyG9Xb5WAUBC0hAAkBYBLaXxMVcll8EeoU4/y2w007im3G+z9Q+Y7I /VinmAc7CW/d+1PA97moBXkY+a4WtNUVywYzJM1uWIzT2WmQYphqNVT++ETw4W0eI620 bM7seJagh74grxI4yv5/KahEOliwx305Xt23t4R1DGOYZIr6mTm+CjCo0xlxHkjolYzG jXVyLKq05YGBJjYdF/1oa5NpmCiP6x9aI20D7H3gL136uueREgi8aYrV3SStjYPV8ZR2 KBV/enMl+6UwVJXWwxorYOtufM1RjBjGJ6LsS3zjFjGugqpm9t/Y8piOdjNgCh+Q96Cp apfw== X-Gm-Message-State: AOJu0Yw6gYRe8EbjIOiofudDkNG0qyWC7V7EVyys+c+0mfuF2P+HmWGl jpCQ82rYzpqKACOkQaOMgDA= X-Received: by 2002:a05:6a00:1487:b0:68b:e18f:2eb7 with SMTP id v7-20020a056a00148700b0068be18f2eb7mr9844162pfu.1.1695059235679; Mon, 18 Sep 2023 10:47:15 -0700 (PDT) Received: from localhost (dhcp-72-235-13-41.hawaiiantel.net. [72.235.13.41]) by smtp.gmail.com with ESMTPSA id 15-20020aa7910f000000b00682a61fa525sm7622082pfh.91.2023.09.18.10.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 10:47:14 -0700 (PDT) Sender: Tejun Heo Date: Mon, 18 Sep 2023 07:47:13 -1000 From: Tejun Heo To: Luiz Capitulino Cc: lizefan.x@bytedance.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, longman@redhat.com, lcapitulino@gmail.com, Michal =?iso-8859-1?Q?Koutn=FD?= Subject: Re: [PATH v2] cgroup: add cgroup_favordynmods= command-line option Message-ID: References: <20230906005712.66461-1-luizcap@amazon.com> <29bdb453-c6e3-a047-1f27-e9656da92301@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29bdb453-c6e3-a047-1f27-e9656da92301@amazon.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 10:47:31 -0700 (PDT) On Mon, Sep 18, 2023 at 10:01:13AM -0400, Luiz Capitulino wrote: > > > On 2023-09-05 20:57, Luiz Capitulino wrote: > > We have a need of using favordynmods with cgroup v1, which doesn't support > > changing mount flags during remount. Enabling CONFIG_FAVOR_DYNMODS at > > build-time is not an option because we want to be able to selectively > > enable it for certain systems. > > > > This commit addresses this by introducing the cgroup_favordynmods= > > command-line option. This option works for both cgroup v1 and v2 and > > also allows for disabling favorynmods when the kernel built with > > CONFIG_FAVOR_DYNMODS=y. > > > > Signed-off-by: Luiz Capitulino > > Ping? Michal raised some valid concerns. I don't really mind that it's not great on the edges tho. Michal, what do you think? Thanks. -- tejun