Re: [patch 134/149] x86, paravirt: Add a global synchronizationpoint for pvclock

From: Peter Palfrader
Date: Tue Jul 13 2010 - 14:25:33 EST


On Tue, 13 Jul 2010, Avi Kivity wrote:

> Well, current upstream uses "m":
>
>> case 8: \
>> asm volatile(lock "cmpxchgq %1,%2" \
>> : "=a"(__ret) \
>> : "r"(__new), "m"(*__xg(ptr)), "0"(__old) \
>> : "memory"); \
>> break; \
>
> and works; I also failed to reproduce with 2.6.32.16. So I expect some
> toolchain involvement.
>
> Peter, what gcc are you using?

gcc (Debian 4.3.2-1.1) 4.3.2

--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/