[lkml]   [2011]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH RFC] virtio_net: fix refill related races
    On Tue, Dec 20, 2011 at 09:30:55PM +0200, Michael S. Tsirkin wrote:
    > Hmm, in that case it looks like a nasty race could get
    > triggered, with try_fill_recv run on multiple CPUs in parallel,
    > corrupting the linked list within the vq.
    > Using the mutex as my patch did will fix that naturally, as well.

    Don't know the code but just use nrt wq. There's even a system one
    called system_nrq_wq.



     \ /
      Last update: 2011-12-20 20:35    [W:0.020 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site