From: Keir Fraser Subject: Re: Re: RFC: Using grant table to give iomem permission Date: Fri, 18 May 2007 17:03:47 +0100 Message-ID: References: <1179499843.14376.35.camel@moonstone.uk.level5networks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1179499843.14376.35.camel@moonstone.uk.level5networks.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kieran Mansley , Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18/5/07 15:50, "Kieran Mansley" 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