Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp873925rdb; Tue, 19 Sep 2023 12:46:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFh1YFku3xHK+pLRzk8CiRTyS2AZt3j5CWK3MWMYdiQnY+mhM/dvg7f084ISIHJajz7ql47 X-Received: by 2002:a92:c24c:0:b0:345:fbdc:bb78 with SMTP id k12-20020a92c24c000000b00345fbdcbb78mr987540ilo.29.1695152768276; Tue, 19 Sep 2023 12:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695152768; cv=none; d=google.com; s=arc-20160816; b=l/0bxcsBHkfplOLoBXA5bBaAuq0P2tN2YqgZdQctJ/m7O8FxoapLLIj+RNvx4nGmFN Oqy/hm6aq3dNu4E7WobBIFrEUehIwGJlLjh1y4lJMv304WHeyVrP02RpXBLZX3cRWL41 RQeeUuiznI9bz+JEPTpCmLKNRA6fBhyMh9f3EGF7bEIX6IIvVpErJtWofO6lIliVl2LK k53hm/IRWfquqJw/Qgt6Tooln1Wa9mddcQ6z1LXPWW3D5x+sb5rQoXDKmTwH9beWz4eJ Ag+R0lTIyCoZ7d5ja1DlVZD8fg2SzlIAsZ9eqlRE+jyDtiDMutdFzZm6UuHh87zVsUsI x1Kg== 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=kUW8+lJZM7K/XgtkgyMNw3L0b83uwQqlZMHcQJDzIAc=; fh=clCliNTz1MfRuDclSqeWpwWNnO/un75pqHtK8lfu3eQ=; b=RykpqCe+mVUkJ288dmPHmTgo+/T/OgCOWzFrA4A6vUoZn90nOAHQJ+hdeIfKoVKGJ6 nwYIm7kv2R2XgZRPbfCPD3jK1Lvoj4gCXymeuURvA9Kn1B/3OJPJwvmDFw8PtLhRGa6s jNWd5w5tgpTl88aoHbtfkuuIJMhVmCcpYLN2JLz+EzTLXg83t4ZAjExzYu9vPmH2QgQg txoA6fZl5v4VtD20KgFb22IajNVevIMxy+0e6mRyGWK7iyZg21/b2ZlE6rBX2GhvIhB+ AfqdqjJjkT14tah4kTsIvTaQuVWSyElpQwZs4CUOFQkRhk1AidjG9xr7ZoPUS/suco1f 7ucQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="RL/WIN6u"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l62-20020a633e41000000b005688117c6f9si2434432pga.44.2023.09.19.12.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 12:46:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="RL/WIN6u"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id DBF6F80BB5D0; Tue, 19 Sep 2023 04:00:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231859AbjISLA0 (ORCPT + 99 others); Tue, 19 Sep 2023 07:00:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230522AbjISLAZ (ORCPT ); Tue, 19 Sep 2023 07:00:25 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4FF4F1; Tue, 19 Sep 2023 04:00:18 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 5F47B2296D; Tue, 19 Sep 2023 11:00:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1695121217; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kUW8+lJZM7K/XgtkgyMNw3L0b83uwQqlZMHcQJDzIAc=; b=RL/WIN6uROihO8XYV/Rp8U4wVyp11s2T+EP8TBn6cVrqrApsc7WL1JTnAbNytc6oe6ZYID jsyLxdp3PAXEQ3J0vw/dXVOL+5la0I1iAr4XLFMiEQxQ1eiZS/20BMnBFPjrCbo+fQ+yqb MfImqgqcXiOhnW4rbFh2GFp39D/PP+I= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3323513458; Tue, 19 Sep 2023 11:00:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id lO6XC0F/CWU+XQAAMHmgww (envelope-from ); Tue, 19 Sep 2023 11:00:17 +0000 Date: Tue, 19 Sep 2023 13:00:15 +0200 From: Michal =?utf-8?Q?Koutn=C3=BD?= To: Tejun Heo Cc: Luiz Capitulino , lizefan.x@bytedance.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, longman@redhat.com, lcapitulino@gmail.com Subject: Re: [PATH v2] cgroup: add cgroup_favordynmods= command-line option Message-ID: <7zv7lqkondaacjhmc7oscyqzwugguxvjw2yhdhkv4axhhkts7a@upoxgl3qpunt> References: <20230906005712.66461-1-luizcap@amazon.com> <29bdb453-c6e3-a047-1f27-e9656da92301@amazon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fq5yevqc27dto7fu" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 19 Sep 2023 04:00:30 -0700 (PDT) --fq5yevqc27dto7fu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 18, 2023 at 07:47:13AM -1000, Tejun Heo wrote: > Michal raised some valid concerns. I don't really mind that it's not great > on the edges tho. Michal, what do you think? I'd have a few suggestions: - reset to have_dynmods value instead of false in cgroup_destroy_root() (to the benefing of the users of this option, not the common default users) or not touch the value in cgroup_destroy_root() at all - s/CONFIG_FAVOR_DYNMODS/CONFIG_CGROUP_FAVOR_DYNMODS/ in commit message Those should be minor tweaks, Michal --fq5yevqc27dto7fu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQpEWyjXuwGT2dDBqAGvrMr/1gcjgUCZQl/PQAKCRAGvrMr/1gc jrkrAP0Tym353enXva+j6+YL+Gm0V3UvU+Jj6RKzfoMExDArZwEAwZ8CC+0DQZW1 1VW13GrliCR0DXybstlYxSDVzLFvcAk= =OD1D -----END PGP SIGNATURE----- --fq5yevqc27dto7fu--