From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Arcangeli Subject: Re: [patch 02/13] KVM: MMU: switch to get_user_pages_fast Date: Tue, 9 Sep 2008 14:21:38 +0200 Message-ID: <20080909122138.GB14858@duo.random> References: <20080906184822.560099087@localhost.localdomain> <20080906192430.598327536@localhost.localdomain> <48C394B5.20706@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Marcelo Tosatti , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from host36-195-149-62.serverdedicati.aruba.it ([62.149.195.36]:46569 "EHLO mx.cpushare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752644AbYIIMVk (ORCPT ); Tue, 9 Sep 2008 08:21:40 -0400 Content-Disposition: inline In-Reply-To: <48C394B5.20706@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Sep 07, 2008 at 11:45:41AM +0300, Avi Kivity wrote: > Marcelo Tosatti wrote: >> Avoid mmap_sem / pt lock acquision if the pagetables are present. The >> improvement for hugepage backed guests is more significant, since pte >> walk + page grab for such mappings is serialized by mm->page_table_lock. >> >> CC: Andrea Arcangeli >> >> > > I'd like to apply this. Andrea, can you verify that mmu notifiers > interaction is okay? Looks great to me. Thanks!