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

RE: [Xen-devel] xenbus stress testing



> 
> James Harper writes ("RE: [Xen-devel] xenbus stress testing"):
> > I issue a barrier (KeMemoryBarrier() which is a compiler and a
memory
> > barrier) after copying rsp_prod, eg:
> >
> > rsp_prod = ring->rsp_prod;
> > KeMemoryBarrier();
> > Access the actual ring buffer
> 
> This is probably correct, but it might depend exactly what
> "KeMemoryBarrier" is.
> 

As above, it's a compiler and a memory barrier.

James

_______________________________________________
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®.