Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2589707pxb; Tue, 23 Feb 2021 10:28:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxuDfBP3KR21Uh1bMtOY0VRdPDGn/xjhwWY+yhQpL53az+iuEBUq1GrEE66sc4EYLJB5Fo7 X-Received: by 2002:a17:906:4349:: with SMTP id z9mr27773410ejm.471.1614104929018; Tue, 23 Feb 2021 10:28:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614104929; cv=none; d=google.com; s=arc-20160816; b=z+zIzqqiJEeNpK9AdatrTU/IUW0DkSPgJlC5rA+fxOXBDGFHgSigXHYVyDo5XlZlDr g3gSVtgK1mqHDdBJPCcwvrk3dL6UIGO2hFR98qdSLj19Q6QVxHl6JuFmUuHppbPm7QoE 8NZ7D956GykCgrzzztqGh6xiyLEBdQRni84gJiJ4dFsSMEN707NGYEWqlmL3kvK0Vqcq gyALXxC1u2101+XKvwftlpkAmbnQO4AqRXEVYiQAxLAEkQg/l3ztsjaVpA5tf56QmFjE ef/eEP0Q+ipnxpBlDCyLWrTDtF4SZHjwFCdSeBnC1iZe9WWUGvf1rAo88nJ5yseP8j8y 3aaQ== 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=XbjS8vUMSKt77z3E7DlvrJ60e+qrAIbjzGDe/XybRK8=; b=NVh8BZrJsk5B7MOcuyzc4OxkYQ4yIddH4Cvx2alU5e6QS9kkcG13ow16IxnLsGVCbl HuQC4ARH+tYq5kvIS1ZiImDsFEo6lMSZwY69p1w8Ih1JHhUhr4MW94ztW2aHEfU28vTr MnbvLNGk5b5+ambIMdPcEaHIy0pD/Il0ndzhJXCbrhOfJnraIe4BK6eE/H8w+H/dcmW0 BWoSeqRpkzvz4guQPAJRwsM4KXymVQh9nmw55YFlReY1k2+ySyZyxx60MRUIsGqLxFPz wbCh1NK395yUYavfP0j1YruGVzOIjLIRjlLL0YCWONYHY5rFmfcG9Wc0/gLrN6tfdF+4 sMkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=WV9e18U9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si14595004edi.542.2021.02.23.10.28.25; Tue, 23 Feb 2021 10:28:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=WV9e18U9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233880AbhBWSZZ (ORCPT + 99 others); Tue, 23 Feb 2021 13:25:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:49710 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233133AbhBWSZX (ORCPT ); Tue, 23 Feb 2021 13:25:23 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1614104677; 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=XbjS8vUMSKt77z3E7DlvrJ60e+qrAIbjzGDe/XybRK8=; b=WV9e18U9LOLZfXySyD6DPWQ9kGd89w1u7ieLGsL1hwOeS9bYjIYC+DSsJUtANPV0TjZU9M +9r5xp23/mpAPOBjX50BU5akyn/t/Ayowi4aRfL14Hy9dC3BbUeJXjTSyxB6TLbWPG3wfA xEpW7VGe2tt/oXGuKvCTZjNt3yxwcBM= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id D0FF7AE55; Tue, 23 Feb 2021 18:24:36 +0000 (UTC) Date: Tue, 23 Feb 2021 19:24:33 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Vipin Sharma Cc: tj@kernel.org, thomas.lendacky@amd.com, brijesh.singh@amd.com, jon.grimm@amd.com, eric.vantassell@amd.com, pbonzini@redhat.com, hannes@cmpxchg.org, frankja@linux.ibm.com, borntraeger@de.ibm.com, corbet@lwn.net, seanjc@google.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, gingell@google.com, rientjes@google.com, dionnaglaze@google.com, kvm@vger.kernel.org, x86@kernel.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 0/2] cgroup: New misc cgroup controller Message-ID: References: <20210218195549.1696769-1-vipinsh@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wVuyn8fuAPNhRfeX" Content-Disposition: inline In-Reply-To: <20210218195549.1696769-1-vipinsh@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wVuyn8fuAPNhRfeX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello. On Thu, Feb 18, 2021 at 11:55:47AM -0800, Vipin Sharma wrote: > This patch is creating a new misc cgroup controller for allocation and > tracking of resources which are not abstract like other cgroup > controllers. Please don't refer to this as "allocation" anywhere, that has a specific meaning (see Resource Distribution Models in Documentation/admin-gruide/cgroup-v2.rst). > This controller was initially proposed as encryption_id but after > the feedbacks, it is now changed to misc cgroup. > https://lore.kernel.org/lkml/20210108012846.4134815-2-vipinsh@google.com/ Interesting generalization. I wonder what else could fit under this as well. (It resembles pids controller on the cover.) > Please provide any feedback for this RFC or if it is good for > merging then I can send a patch for merging. A new controller is added exposed with v1 attributes. I'm not convinced it is desirable to change the frozen v1 controllers' API? (And therefore promote it as well.) Beware, bikeshedding. The name is very non-descriptive, potentially suggesting catch-all semantics. It'd deserve a further thought. My idea would be limit(s) or counter controller. My few cents here (and some more in reply to the patch), Michal --wVuyn8fuAPNhRfeX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEEoQaUCWq8F2Id1tNia1+riC5qSgFAmA1SF0ACgkQia1+riC5 qSjyug/+JnqIiM/q5Fq9IapQYcrjFfqbXe/ULrbJurWNM7N1IY/PQQd6XKqXv+GH bjV7UZCa8Rr+TWaVx4/dw7HycGzwCpxVGZ3afm1R2KujhucRR6x3Jfu3al08HASh tyALCpp7s7bKb1b3ehnq6vEonsEinSbiXYHl4iWXN8EL2Kl/bQNOq1qqshLUMNGL 1WXuvfM0seMziFSh/BogVLx77yzInWj1Q4nE19yWYWh2go+CcZjTSAFc2uJn0fWn DIMvt4QaXNEOrr1nyLqSJWR3WVl8OGTx7jec9u9IGmLDT1cmXLM7cEpSuRxEW8KQ A7Dd2NBQ0foZsUFC8N+mWqpDMKAUP9ZG4KIplBubWJittkd4MIcpoBReO6DVdHzM Zc6IdpCON8+kYVGaHSswOkx30BdIEeTf8wmIywkkDRQcrHS6fYO8QqqThzsfcWiD uWIvZMDqu9X4LqPctqCkr/Aw8goAW764Q35xABYonDIUhJfZfcdR7sRFZrIdl3xk +UmPWynRCXJ5/XIj4Trm4H/AvwOR2zX8NywuoGF9r8tfHcBR8gqwtMyg8un4eEcG jroaVCayT9ZJI+49XV7qvZNaF+yg8GL0EDimIl7r0m5vi157AGxWhH7jfOFlbN6Q JFP5/0x+ZIssTiTuytqRC+cE+j3Jl1LVZ+MZjz68btbTckO83Y8= =WGjH -----END PGP SIGNATURE----- --wVuyn8fuAPNhRfeX--