|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|