WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] assembly-language mutex support

To: Bart Heinsius <bheinsius@xxxxxxxxx>
Subject: Re: [Xen-devel] assembly-language mutex support
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sat, 05 Apr 2008 10:04:12 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 05 Apr 2008 02:05:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47F69E02.9040403@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciW/APQQpuPiwLvEd2FkwAWy6hiGQ==
Thread-topic: [Xen-devel] assembly-language mutex support
User-agent: Microsoft-Entourage/11.4.0.080122
Ah, I think this is related to difficulties supporting ‘negative segment accesses’. This means we have to rebuild glibc and we lose some NPTL functionality in doing that.

However, this problem is not present if you run a 64-bit hypervisor. You can run 64-bit or 32-bit (PAE) Linux guests on the 64-bit hypervisor with no limitations (even as domain 0) and the ‘negative segment access’ problem goes away.

You should try that out! The only tricky point may be if the distro you use has deliberately picked different glibc when running a 32-bit Xen version of Linux, despite the fact you are running on 64-bit hypervisor. In  that case you might have to tweak a ld.so config file to stop searching for nosegneg libraries.

But short answer is: use a 64-bit hypervisor and it should all work fine.

 -- Keir

On 4/4/08 22:30, "Bart Heinsius" <bheinsius@xxxxxxxxx> wrote:

I don't know what it means exactly, except that it hear it can cause problems for BDB.
I want to run a production Zimbra instance in a Xen vm and certain people at Zimbra advice me to not do that unless it has assembly-language mutex support, since BDB uses assembly level mutex locks by default.
I was pointed to:
https://bugzilla.redhat.com/show_bug.cgi?id=91933
http://www.openldap.org/lists/openldap-software/200603/msg00214.html

and
http://www.zimbra.com/forums/installation/14121-virtualization-zimbra.html

-- Bart

Keir Fraser wrote:

What does that even mean?

 -- Keir


On 4/4/08 21:45, "Bart Heinsius" <bheinsius@xxxxxxxxx> <mailto:bheinsius@xxxxxxxxx>  wrote:

  
 

Hi,

I read some time ago that Xen does not have assembly-language mutex support.
Is this still the case in Xen 3.2?

best regards,
Bart.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
    
 



  



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>