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

xen-devel

[Top] [All Lists]

RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks

To: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 5 Oct 2005 20:49:07 +0100
Cc: "Koren, Bradley J" <Bradley.Koren@xxxxxxxxxx>, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>
Delivery-date: 2005年10月05日 19:46:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcXJ2nTW5d4lFvKqSSimnEEPAG4l6AACsidg
Thread-topic: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks
 
> I have been looking at the following bug
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=252 
> That investigation is still underway. 
>
> While looking at this problem I found that in "lock cmpxch8b 
> &page->count_info" occurring in "get_page( )", 
> "&page->count_info" is on a misaligned address. Furthermore 
> the address of "page" is not modulo 64. So the "lock 
> cmpxch8b" can happen across cache lines and lead to a split 
> lock. On systems which have multiple buses, the atomicity of 
> such a statement is not assured and can cause synchronization 
> problems. 
>
> I have attached a patch which solves this issue.
We can't just increase the size of pfn_info structure -- it has
implications for the amount of VM space that Xen uses. This will require
more thought.
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Re: [Xen-changelog] Add Gentoo handling to network-bridge. Based on patches , Jon Mason
Next by Date: RE: [Xen-devel] [PATCH] tools: Fix network-bridge to work withGentoo (version 2) , Ian Pratt
Previous by Thread: Re: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks , Keir Fraser
Next by Thread: RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks , Puthiyaparambil, Aravindh
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /