lkml.org 
[lkml]   [2023]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 2/2] iommu/ioasid: Remove custom IOASID allocator
Date
> From: Jason Gunthorpe <jgg@nvidia.com>
> Sent: Tuesday, February 14, 2023 7:46 AM
>
> > > So if a cgroup comes it is just a matter of putting charges in the
> > > right place which is auditable by looking at calls to attach pasid
> > > functions.
> > shouldn't we charge cg during allocation? Or it might be too early for
> > iommufd so we have to wait until attach?
>
> We need to sort this all out. I would expect that iommufd will have an
> allocation API.
>

yes.

btw presumably iommu_global_pasid_ida should be move to iommu.c
since it will be used beyond sva.

\
 
 \ /
  Last update: 2023-03-27 00:21    [W:0.071 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site