Re: [PATCH v3 26/30] drivers: hv: dxgkrnl: Offer and reclaim allocations

Wei Liu
2022-03-02T18:23:27Z

On Wed, Mar 02, 2022 at 10:13:34AM -0800, Iouri Tarassov wrote:
>
> On 3/2/2022 6:25 AM, Wei Liu wrote:
> > On Tue, Mar 01, 2022 at 11:46:13AM -0800, Iouri Tarassov wrote:
> > > Implement ioctls to offer and reclaim compute device allocations:
> > > - LX_DXOFFERALLOCATIONS,
> > > - LX_DXRECLAIMALLOCATIONS2
> > >
> > > When a user mode driver (UMD) does not need to access an allocation,
> >
> > What is a "user mode driver" in this context? Is that something that
> > runs inside the guest?
>
> Hi Wei,
>
> The user mode driver runs inside the guest. This driver is written by
> hardware vendors.
> For example, the NVIDIA's Cuda runtime is considered a user mode driver.
> The driver
> provides a specific API to applications (like the Cuda API).
>
> The cover letter explains the design of the virtual compute device
> paravirtualization
> model and describes all components, which are involved. I feel that I do
> not need to
> include explanation to every patch.

It's fine. I was just asking a question -- I didn't have all the terms
in my head by the time I got to this patch. There is no need to add the
explanation to every patch.

Thanks,
Wei.

>
> Thanks
> Iouri
>