Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp475570rdb; Thu, 5 Oct 2023 11:12:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYOs2C/HkR3kxnej3hgFBj8SDDdD7Re45e3JRm7unuZPC1SPtmqY+1aIjY+ObH0Cy7odtf X-Received: by 2002:a05:6a21:47ca:b0:137:e595:830f with SMTP id as10-20020a056a2147ca00b00137e595830fmr5274454pzc.57.1696529574375; Thu, 05 Oct 2023 11:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696529574; cv=none; d=google.com; s=arc-20160816; b=J+sik4DJAnP2Xs9j5crOgPaW3qr+UX/zyX0lG1xL9nMs60y9IfdGc5Fpsmck0K1/zi Sn+VipUopwMFNY496g2qoTg7FQ5poOdnisl4Cdmp1iyYBq2SLsWA+Hukb5a6aFeq1Ysi vDeB6GJSLH3StZDhc0NQjyOhj2+4DfrcwOYCurQWJPgfL1aobibfoimgUeJCxY0ww6lj bdw6jpcqMqVOVlkE6yeYMqhzoCS9yoX1ZHdQilRCHQzJtcf95vLqSSfbBlP58GC1Rt5A sxVe/gSJXmxR/3EnP71LK8xf6dKRAew8kY1nsZedVDOVrRTK/fUU6l6xkUqfnFKImS0T /l6Q== 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=yrVZ9ksg7P5W8XI53drIp4BTDrzYBAzM+oiMueHO5kk=; fh=BGKs6JkLQnxgMvWGXvBW3+t9i6GdlmBO/g1vUt/HbRE=; b=1IaciBVvKD7nKJ14miHKKWW3iulkgzNKgv2r7M0yi1Mgd3WNatwWuaM/vt0G9z4z8o pSV4u9VctnWJULU0xxx5RBQKSUmfISxKPQYnoICyK59w1xo8q0bMIRZcqd4WOGD03X7L NNxVLuvTB3tqysAe8763mEMYOHUaSqUwjpGiWg7F4XvlgQEsiZlvM4gCJ4F1RD6bkogW CNQNyU4dc0lPNmZCG7cA09RQW5ese3HFzVUWeou8G99ya43QCu03hEnMkH5FYm5MsNPi eEV6KEDdm8R1PF6gOZBJJVKFSkmebkcamnZxMx08S1KCrPMfSUlsYyZiwAuzKSaS309L LEIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="CZQFTr/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q4-20020a17090311c400b001b86ddfd49bsi2069118plh.6.2023.10.05.11.12.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 11:12:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="CZQFTr/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 3D46D8350FF1; Thu, 5 Oct 2023 11:12:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbjJESMm (ORCPT + 99 others); Thu, 5 Oct 2023 14:12:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232365AbjJESM3 (ORCPT ); Thu, 5 Oct 2023 14:12:29 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C6D690; Thu, 5 Oct 2023 11:12:28 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1bdf4752c3cso9202795ad.2; Thu, 05 Oct 2023 11:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696529547; x=1697134347; 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=yrVZ9ksg7P5W8XI53drIp4BTDrzYBAzM+oiMueHO5kk=; b=CZQFTr/Dup0QgIodnN0VoUM1rmTswhEEhtHcnysmQXGxtByZePOnSOp6bVVQ4f5dUW mLcHXCGXpgaLLQFPADg2cxjHx9fIaMv74WJ15k654ZmgEh/fqDHiE2AKHQcTwHi/MjCR m5ocdURtsGLmGtbXlRtTsYRUuafteEv03x0rQhBUxE9swZ3UeZRwdF84cEOzYzrDfAlN sBLmHEGgmsuQxgUhq4yefkOSx8hA3U7rIrv42CDgYtKSQK6ivHnd9WapIOYdsg1ubcak iAlL1BiubUBuChUpHipDTI3P3sdK7Y/R+F4e/4TnJrxJalsICiEdV6vwiwVayLw4PQwj j1tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696529547; x=1697134347; 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=yrVZ9ksg7P5W8XI53drIp4BTDrzYBAzM+oiMueHO5kk=; b=Io3XAeM9Am0q8x7WFBA9wAONxjNpTW3z0A34m7Ji7FAIeQgosz8pEKycLe6kr0di+y nKD8LjRxUDpaZiOAtsYgTXzL88X3mNVmt8TgNS6XnfBxVQBSGZOlAwcMaw9HI4K9ni6T xDfXk5zcJsOfpDkqGn1iv6Kjf+EGpJJwSf23CnhhCKEMFUuUaj5w4R6ep9Ri8K+cPSrZ M2Ry4730wQcOycF+3wD8WTu4CMUTAnWBwiSmRTTaoaRnCiT1X33W01vAYV6IRxOCwUBR sM/117rxQvxGU7QeRswZ9+MAfMHy10gCPrA5ow+EcjpxIFYSv9+la5HUCwIwaF8YNOlq D0Sg== X-Gm-Message-State: AOJu0Ywpf25VzBzLfw4oIOY6r0JVCBDsO9AN08qnl3h1obSow0gMMR5S 6BzPyAcOQWc6td9YL4R7LNN7zSP4ghvx7w== X-Received: by 2002:a17:902:edd0:b0:1c7:69a1:751e with SMTP id q16-20020a170902edd000b001c769a1751emr4681876plk.43.1696529547443; Thu, 05 Oct 2023 11:12:27 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::4:cef]) by smtp.gmail.com with ESMTPSA id t19-20020a1709028c9300b001b9d95945afsm2025606plo.155.2023.10.05.11.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 11:12:26 -0700 (PDT) Sender: Tejun Heo Date: Thu, 5 Oct 2023 08:12:25 -1000 From: Tejun Heo To: Kamalesh Babulal Cc: Zefan Li , Johannes Weiner , Tom Hromatka , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [External] : Re: [PATCH] cgroup: In cgroup_no_v1() check v1 controllers only Message-ID: References: <20230920102513.55772-1-kamalesh.babulal@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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_BLOCKED,SPF_HELO_NONE, SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 11:12:53 -0700 (PDT) On Thu, Oct 05, 2023 at 04:51:52PM +0530, Kamalesh Babulal wrote: > > > On 10/5/23 00:47, Tejun Heo wrote: > > On Wed, Sep 20, 2023 at 03:55:12PM +0530, Kamalesh Babulal wrote: > >> cgroup v1 or v2 or both controller names can be passed as arguments to > >> the 'cgroup_no_v1' kernel parameter, though most of the controller's > >> names are the same for both cgroup versions. This can be confusing when > >> both versions are used interchangeably, i.e., passing cgroup_no_v1=io > >> > >> $ sudo dmesg |grep cgroup > >> ... > >> cgroup: Disabling io control group subsystem in v1 mounts > >> cgroup: Disabled controller 'blkio' > > > > So, making the printed names consistent makes sense but I'm not sure about > > not matching "io" anymore. That's gonna break users who already use them, > > right? > > Agreed, users might pass "io" in place of "blkio", I was thinking > in terms of cgroup v1 users, for whom it is "blkio" controller but > as an argument, "cgroup_no_v1" makes the controllers passed to it, > available under cgroup v2, where the controller is named "io", > which the user may use interchangeably. > > Shall I re-send the patch to print the controller legacy_name only? Yes, let's do that. Thanks. -- tejun