Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp670727iob; Wed, 4 May 2022 05:47:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytGQUZuDfrvU0bl/YXzVTZXBYRkUOUoaFJe61pNRNDTorVK/HpP9CXZlphRQ4mJ4AtxxlO X-Received: by 2002:a05:6402:3593:b0:427:e6d6:9265 with SMTP id y19-20020a056402359300b00427e6d69265mr7944494edc.402.1651668425644; Wed, 04 May 2022 05:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651668425; cv=none; d=google.com; s=arc-20160816; b=Jl/vqUTr6apNgbgjJYX2JUwGrDOLM0RWuHK7bRCRtT1JV6wFsw0mCiiz6/eYJ7MrmP lbXGQ92MSOGZUCtGTGS+Z3+fDV6YxidcOK/Pk4PBthXxn5fzSnVAXMbujC+mvUW5XoXW pC1okidYde5RI3TOdM91aPzw/i3qeTVnd2naB38o7x90pQEGhmGcVVsK805Z073ETv8K rWvHxqaeZJxOoF/J4Nl/BJz4d/81ancK2JBg9t9tgE0ZziESPKNgIoOMdCEQajmMp3Ju v0FXQfcw3w7/94PubTbmP81D/alPWMHGkk1Jc5LP2M0l1JXziYbeSok+vAoTRwF7PifW 2Xig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=GbtrdowooXgC4Dq4I7PP0O0e6k1pK88440d13xBhK68=; b=FD8Vyvr8ZF9UzHT40dapsAdHQcZbBKz5jmcENqezqcYS2XQ1lT+QRziGciRnmR+/TB 8KwmNTHhsFd337pC5tlqWnlBXIm/hh8cVG7HHrCvFqffbcZiSQD9XInIXyZZb4LtgyFb 1hVAfE3/sl7/+fYWm3YMIHIvmI/Dmy2WS68eqzY/sgPlQ8iPDrxVkIpxdo2E/MqurRR0 ITYmz/JQokE1P9zirHtrt/HQq7NTPk6LIAFuktvd5iW3LCZBZB0J9L/rdOgG2dI1E/Yp SsoIbZuxlow0Bodtr6qXZRqKMDb4+wdXQQ8NBPPZSJSyfOCMbIPzt0BLe/FNpmpq4IPP 5NRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=gvyorl1e; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a170906c08e00b006e87e97d30csi16428871ejz.197.2022.05.04.05.46.40; Wed, 04 May 2022 05:47:05 -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=@suse.com header.s=susede1 header.b=gvyorl1e; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349196AbiEDMOc (ORCPT + 99 others); Wed, 4 May 2022 08:14:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349236AbiEDMOb (ORCPT ); Wed, 4 May 2022 08:14:31 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D61D718359; Wed, 4 May 2022 05:10:55 -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-out2.suse.de (Postfix) with ESMTPS id 225CE1F745; Wed, 4 May 2022 12:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1651666254; 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=GbtrdowooXgC4Dq4I7PP0O0e6k1pK88440d13xBhK68=; b=gvyorl1e9bnZvu9SbWDa+u1KYleZB6uYGpnI0dQX9V+DB6u4vxbQu5qltnYvmQiei1rLaI TqiXg4X62CL/MZ4++gP+Oz/1JpJPP9PTjUOlGcSOfSxUrVHSQIqjBIGQ3yGsIhE2RWpvOv bVYG1gSmsZ0Q0ATa/1Ic7LH6FnCUC5M= 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 A9C35131BD; Wed, 4 May 2022 12:10:53 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id eFpTKE1tcmKnUwAAMHmgww (envelope-from ); Wed, 04 May 2022 12:10:53 +0000 Date: Wed, 4 May 2022 14:10:52 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: "T.J. Mercier" Cc: Tejun Heo , Zefan Li , Johannes Weiner , Jonathan Corbet , daniel@ffwll.ch, hridya@google.com, christian.koenig@amd.com, jstultz@google.com, tkjos@android.com, cmllamas@google.com, surenb@google.com, kaleshsingh@google.com, Kenny.Ho@amd.com, skhan@linuxfoundation.org, kernel-team@android.com, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 1/6] gpu: rfc: Proposal for a GPU cgroup controller Message-ID: <20220504121052.GA24172@blackbody.suse.cz> References: <20220502231944.3891435-1-tjmercier@google.com> <20220502231944.3891435-2-tjmercier@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220502231944.3891435-2-tjmercier@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hello. On Mon, May 02, 2022 at 11:19:35PM +0000, "T.J. Mercier" wrote: > --- a/Documentation/admin-guide/cgroup-v2.rst > +++ b/Documentation/admin-guide/cgroup-v2.rst > [...] > + The device name string is set by a device driver when it registers with the > + GPU cgroup controller to participate in resource accounting. Are these names available anywhere else for the user? (I.e. would drivers add respective sysfs attributes or similar?) > + Non-unique names will be rejected at the point of registration. This doesn't seem relevant to the cgroupfs user, does it? I think it should be mentioned at the respective API. HTH, Michal