From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: pv_ops & gntdev? Date: Wed, 25 Feb 2009 22:45:08 +0100 Message-ID: <49A5BBE4.9040306@redhat.com> References: <49A44030.2070709@redhat.com> <49A4640E.1000807@goop.org> <49A470DD.2000008@redhat.com> <49A517F6.30005@redhat.com> <49A58506.2020407@goop.org> <49A59453.1090502@redhat.com> <49A5A5A2.10001@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49A5A5A2.10001@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org Jeremy Fitzhardinge wrote: > Gerd Hoffmann wrote: >> Also: 2.6.18 gntdev does some funky interaction with the balloon driver. >> What is the point in doing so? >> > > Oh, the alloc_empty_pages_and_pagevec() stuff? It allocates some pages, > just for their pfn slots, and then returns the underlying memory back to > Xen. It uses the pfns to slot granted pages into. Ok, and that way you'll also get a struct page for the grant mappings, right? 2.6.18 gntdev does map grants to both kernel and userspace. Any idea why? Just userspace should be possible too, right? thanks, Gerd