On Sun, 2026-08-16 at 09:10 -1000, Tejun Heo wrote:
> On Fri, Aug 14, 2026 at 11:32:54AM +0200, Thomas Hellström wrote:
> > Hi!
> > 
> > We (drm/xe GPU driver) have a use-case where we have a very limited
> > number of a particular device resource (CLOS slots) that we
> > potentially
> > want to expose to unprivlieged processes for reservation /
> > allocation.
> > We want to be able to restrict per cgroups the number of CLOS slots
> > that are available for reservation / allocation.
> > 
> > This is not a good fit for the misc controller since these resource
> > types may be added and removed similar to dmem regions. Neither is
> > it a
> > good fit for the dmem controller.
> > 
> > Would a dmisc controller be suitable here? It would be similar to
> > the
> > misc countroller but with dynamic addition and removal of resource
> > types similar to the dmem controller.
> > 
> > Any input greatly appreciated.
> 
> Would extending the existing misc controller be an option?

Certainly. I think a main concern though would be testing of the
existing use-cases. But anyway I'll take a look in that direction.

Thanks,
Thomas

> 
> Thanks.

Reply via email to