On Wed, 2015-01-07 at 16:37 +0000, Ian Jackson wrote:
> >  As the result of the hypercall is going to be the same, the
> > worse that a race could achieve is a wasted hypercall.
> 
> This kind of analysis is unfounded in the presence of modern compilers
> with aggressive optimisations.  At the very least, if you're going to
> do some caching like this, it needs a lock around it.

Even for a hypercall which is just "return 42" (at least between boots)?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to