On Mon, Apr 11, 2022 at 04:13:40PM +0200, Christoph Hellwig wrote: > Consolidate the per-VGPU structures into a single one. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > drivers/gpu/drm/i915/gvt/gvt.h | 8 +++ > drivers/gpu/drm/i915/gvt/kvmgt.c | 117 ++++++++++++------------------- > 2 files changed, 52 insertions(+), 73 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > @@ -236,6 +239,11 @@ struct intel_vgpu { > atomic_t released; > struct vfio_device *vfio_device; > struct vfio_group *vfio_group; > + > + struct kvm_page_track_notifier_node track_node; > +#define NR_BKT (1 << 18) > + struct hlist_head ptable[NR_BKT]; > +#undef NR_BKT It is what was there before, but it sure read oddly.. Jason