[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] Re: [PATCH] xen: drop anti-dependency on X86_VISWS
- To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>, "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
- From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
- Date: Fri, 08 Apr 2011 16:42:00 +0100
- Cc: "randy.dunlap@xxxxxxxxxx" <randy.dunlap@xxxxxxxxxx>, Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>, "eric.dumazet@xxxxxxxxx" <eric.dumazet@xxxxxxxxx>, "konrad.wilk@xxxxxxxxxx" <konrad.wilk@xxxxxxxxxx>, "virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx" <virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx>, "mingo@xxxxxxxxxx" <mingo@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "hpa@xxxxxxxxx" <hpa@xxxxxxxxx>, "tglx@xxxxxxxxxxxxx" <tglx@xxxxxxxxxxxxx>, "mirq-linux@xxxxxxxxxxxx" <mirq-linux@xxxxxxxxxxxx>, "pazke@xxxxxxxxx" <pazke@xxxxxxxxx>, David Miller <davem@xxxxxxxxxxxxx>
- Delivery-date: Fri, 08 Apr 2011 08:42:36 -0700
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
>>> On 08.04.11 at 17:25, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> On 04/07/2011 11:38 PM, Ian Campbell wrote:
>> Is there any downside to this patch (is X86_CMPXCHG in the same sort of
>> boat?)
>
> Only if we don't use cmpxchg in shared memory with other domains or the
> hypervisor. (I don't think it will dynamically switch between real and
> emulated cmpxchg depending on availability.)
Actually it does - see the "#ifndef CONFIG_X86_CMPXCHG" section
in asm/cmpxchg_32.h.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|