Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753571AbYAXEEx (ORCPT ); Wed, 23 Jan 2008 23:04:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752828AbYAXEEo (ORCPT ); Wed, 23 Jan 2008 23:04:44 -0500 Received: from gate.crashing.org ([63.228.1.57]:52550 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752567AbYAXEEn (ORCPT ); Wed, 23 Jan 2008 23:04:43 -0500 Subject: Re: [kvm-devel] [PATCH] export notifier #1 From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org To: Avi Kivity Cc: Robin Holt , Gerd Hoffmann , Christoph Lameter , Andrea Arcangeli , Andrew Morton , Nick Piggin , linux-mm@kvack.org, steiner@sgi.com, linux-kernel@vger.kernel.org, kvm-devel@lists.sourceforge.net, daniel.blueman@quadrics.com, Hugh Dickins In-Reply-To: <47974C78.7050509@qumranet.com> References: <478E4356.7030303@qumranet.com> <20080117162302.GI7170@v2.random> <478F9C9C.7070500@qumranet.com> <20080117193252.GC24131@v2.random> <20080121125204.GJ6970@v2.random> <4795F9D2.1050503@qumranet.com> <20080122144332.GE7331@v2.random> <20080122200858.GB15848@v2.random> <4797384B.7080200@redhat.com> <20080123131939.GJ26420@sgi.com> <47974C78.7050509@qumranet.com> Content-Type: text/plain Date: Thu, 24 Jan 2008 15:03:07 +1100 Message-Id: <1201147387.6815.29.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1254 Lines: 34 On Wed, 2008-01-23 at 16:17 +0200, Avi Kivity wrote: > Robin Holt wrote: > > On Wed, Jan 23, 2008 at 01:51:23PM +0100, Gerd Hoffmann wrote: > > > >> Jumping in here, looks like this could develop into a direction useful > >> for Xen. > >> > >> Background: Xen has a mechanism called "grant tables" for page sharing. > >> Guest #1 can issue a "grant" for another guest #2, which in turn then > >> can use that grant to map the page owned by guest #1 into its address > >> space. This is used by the virtual network/disk drivers, i.e. typically > >> Domain-0 (which has access to the real hardware) maps pages of other > >> guests to fill in disk/network data. > >> > > > > This is extremely similar to what XPMEM is providing. > > > > > > I think that in Xen's case the page tables are the normal cpu page > tables, not an external mmu (like RDMA, kvm, and XPMEM). However, that will be useful to the DRI folks as modern video chips are growing MMU with even page fault capabilities. Ben. -- 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/