From: Keir Fraser Subject: Re: [PATCH] x86: remove use of per-domain lock from page table entry handling Date: Tue, 22 Apr 2008 14:30:20 +0100 Message-ID: References: <480DFDD8.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <480DFDD8.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 22/4/08 14:01, "Jan Beulich" wrote: > This is only a first step, the use of the domain lock in do_mmuext_op() > and do_set_gdt() still need looking at, as do the assertions of the > lock being held in create_grant_{pte,va}_mapping(). > > This change results in a 5% performance improvement for kernel builds > on dual-socket quad-core systems (which is what I used for reference > for both 32- and 64-bit). Along with that, the amount of time reported > as spent in the kernel gets reduced by almost 25% (the fraction of time > spent in the kernel is generally reported significantly higher under > Xen than with a native kernel). I'm pretty sure we don't need per-page locks. -- Keir