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

Iouri Tarassov
2022-03-02T18:15:09Z

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.

Thanks
Iouri