WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>