Messages in this thread | | | Subject | Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations | From | Gerd Hoffmann <> | Date | Thu, 29 Jun 2017 08:41:53 +0200 |
| |
Hi,
> > Does gvt track the live cycle of all dma-bufs it has handed out? > > The V9 implementation does track the dma-bufs' live cycle. The > original idea was that leaving the dma-bufs' live cycle management to > user mode.
That is still the case, user space decides which dma-bufs it'll go keep cached. But kernel space can see what user space is doing, so there is no need to explicitly tell the kernel whenever a cached dma-buf exists or not.
cheers, Gerd
| |