[Bug 86997] non-portable x86/x86_64 inline assembly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 4 07:13:13 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=86997

--- Comment #3 from Marc-Andre Lureau <marcandre.lureau at gmail.com> ---
(In reply to Christophe Fergeau from comment #2)
> Created attachment 110448 [details] [review]
> Use gcc builtin rather than asm for memory barriers
> 
> I actually have that patch in my local spice-protocol copy which I never
> really tested...

my understanding is that this is correct, I think we should try that in the
coming upstream release. (if not there are a lot of mb defines in kernel
arch/*/include/asm/barrier.h)

(there are possibly better version of the ring, apparently adapted from Tim
Deegan and Andrew Warfield)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20141204/ffe4d6de/attachment.html>


More information about the spice-bugs mailing list