[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RfC PATCH] Add udmabuf misc device

From: Daniel Stone
Subject: Re: [Qemu-devel] [RfC PATCH] Add udmabuf misc device
Date: Fri, 6 Apr 2018 10:52:21 +0100

Hi Gerd,

On 14 March 2018 at 08:03, Gerd Hoffmann <address@hidden> wrote:
>> Either mlock account (because it's mlocked defacto), and get_user_pages
>> won't do that for you.
>> Or you write the full-blown userptr implementation, including mmu_notifier
>> support (see i915 or amdgpu), but that also requires Christian Königs
>> latest ->invalidate_mapping RFC for dma-buf (since atm exporting userptr
>> buffers is a no-go).
> I guess I'll look at mlock accounting for starters then.  Easier for
> now, and leaves the door open to switch to userptr later as this should
> be transparent to userspace.

Out of interest, do you have usecases for full userptr support? Maybe
another way would be to allow creation of dmabufs from memfds.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]