From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 23 Jan 2008 08:18:14 -0600 From: Robin Holt Subject: Re: [kvm-devel] [PATCH] export notifier #1 Message-ID: <20080123141814.GE3058@sgi.com> References: <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> <47974B54.30407@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47974B54.30407@redhat.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Gerd Hoffmann Cc: Robin Holt , Christoph Lameter , Andrea Arcangeli , Andrew Morton , Nick Piggin , linux-mm@kvack.org, Benjamin Herrenschmidt , steiner@sgi.com, linux-kernel@vger.kernel.org, Avi Kivity , kvm-devel@lists.sourceforge.net, daniel.blueman@quadrics.com, Hugh Dickins List-ID: On Wed, Jan 23, 2008 at 03:12:36PM +0100, Gerd Hoffmann wrote: > Hi, > > >> That would render the notifies useless for Xen too. Xen needs to > >> intercept the actual pte clear and instead of just zapping it use the > >> hypercall to do the unmap and release the grant. > > > > We are tackling that by having our own page table hanging off the > > structure representing our seg (thing created when we do the equiv of > > your grant call). > > --verbose please. I don't understand that "own page table" trick. Is > that page table actually used by the processor or is it just used to > maintain some sort of page list? We have a seg structure which is similar to some structure you probably have which describes the grant. One of the things hanging off that seg structure is essentially a page table containing PFNs with their respective flags (XPMEM specific and not the same as the pfn flags in the processor page tables). Thanks, Robin -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org