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] writable pagetables scalability issue

To: Rik van Riel <riel@xxxxxxxxxx>
Subject: Re: [Xen-devel] writable pagetables scalability issue
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 07 Dec 2007 18:17:03 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Dec 2007 10:19:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071207125354.0714d8cf@xxxxxxxxxxxxxxxx>
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: Acg4/V2zm/1TkKTwEdy7ewAX8io7RQ==
Thread-topic: [Xen-devel] writable pagetables scalability issue
User-agent: Microsoft-Entourage/11.3.6.070618
On 7/12/07 17:53, "Rik van Riel" <riel@xxxxxxxxxx> wrote:

>> I think we can probably just as easily strip out the big lock entirely from
>> the critical paths. It's not really needed much these days.
> 
> "not needed much" makes me kind of nervous :)
> 
> Exactly what do we still need to protect against?

The main thing right now is update_va_mapping() goes at the linear map, and
has to avoid races where a pte is being deconstructed but has not yet been
flushed from the linear map. If we change the implementation of
update_va_mapping() then I think the biglock can fall away.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>