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

Re: [Xen-devel] barriers before {req/rsp}_cons = cons?



On 18/7/08 20:33, "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxxx> wrote:

>> Could you describe the race you believe is made possible by the absence of
>> the barrier?
> 
> It is very unlikely, but the write into req_cons could happen before
> actually doing the memcpy, and so another processor could try to reuse
> the same request slot.

req_cons is not shared with the frontend driver, and most accesses within
the backend are serialised within the transmit tasklet.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.