Re: [PATCH v6 1/6] gpu: rfc: Proposal for a GPU cgroup controller

From: Michal Koutný
Date: Wed May 04 2022 - 08:11:00 EST


Hello.

On Mon, May 02, 2022 at 11:19:35PM +0000, "T.J. Mercier" <tjmercier@xxxxxxxxxx> 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