This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: RFC: Using grant table to give iomem permission

To: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: RFC: Using grant table to give iomem permission
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Fri, 18 May 2007 17:03:47 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 May 2007 09:02:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1179499843.14376.35.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceZZh3bXI1XDAVZEdyzvQAX8io7RQ==
Thread-topic: [Xen-devel] Re: RFC: Using grant table to give iomem permission
User-agent: Microsoft-Entourage/
On 18/5/07 15:50, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:

> I could prevent it doing these things in the case of it being iomem, but
> in that case I felt that it was no longer really doing a host_map
> operation, and so to avoid confusion (e.g. others maintaining the code
> might not realise that GNTMAP_host_map can mean two different things)
> thought it better to give it a separate type.

At the interface it still makes sense to call it a host mapping, because it
is mapped into host page tables. But yes, you'll end up doing things a bit
differently where there's no struct page_info.

 -- Keir

Xen-devel mailing list