Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758048AbXIEUNk (ORCPT ); Wed, 5 Sep 2007 16:13:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757028AbXIEUNa (ORCPT ); Wed, 5 Sep 2007 16:13:30 -0400 Received: from ozlabs.org ([203.10.76.45]:40262 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756950AbXIEUN3 (ORCPT ); Wed, 5 Sep 2007 16:13:29 -0400 Subject: Re: [kvm-devel] [PATCH][RFC] pte notifiers -- support for external page tables From: Rusty Russell To: Avi Kivity Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, kvm-devel@lists.sourceforge.net, general@lists.openfabrics.org In-Reply-To: <11890207643068-git-send-email-avi@qumranet.com> References: <11890207643068-git-send-email-avi@qumranet.com> Content-Type: text/plain Date: Thu, 06 Sep 2007 05:56:23 +1000 Message-Id: <1189022183.10802.184.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 26 On Wed, 2007-09-05 at 22:32 +0300, Avi Kivity wrote: > [resend due to bad alias expansion resulting in some recipients > being bogus] > > Some hardware and software systems maintain page tables outside the normal > Linux page tables, which reference userspace memory. This includes > Infiniband, other RDMA-capable devices, and kvm (with a pending patch). And lguest. I can't tell until I've actually implemented it, but I think it will seriously reduce the need for page pinning which is why only root can currently launch guests. My concern is locking: this is called with the page lock held, and I guess we have to bump the guest out if it's currently running. (Oh, and this means lguest needs to do a reverse mapping somehow, but I'll come up with something). Cheers, Rusty. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/