Re: virtio-gpu vq code isn't thread safe

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

 



On 16 June 2015 at 17:12, Gerd Hoffmann <kraxel@xxxxxxxxxx> wrote:
> On Di, 2015-06-16 at 14:55 +1000, Dave Airlie wrote:
>> Hey Gerd,
>>
>> This probably doesn't matter yet, but they virtgpu_vq buffer
>> allocation code you added isn't threadsafe.
>
> Right, I'll add a lock (or do you have a patch already?)

I've got a patch in my tree to add a spinlock around it,

http://cgit.freedesktop.org/~airlied/linux/commit/?h=virtio-gpu&id=e5adb6e41394ac16dbbaffc961e196103f7b07fa

but I'd need to rebase it out and send it, feel free to steal and add
my S-o-b to it.

Dave.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux