WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Allow programatic iomem permissions

To: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Allow programatic iomem permissions
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Fri, 13 Jul 2007 16:53:45 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 Jul 2007 08:51:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1184341284.4144.46.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: AcfFZf4rPNbGaTFZEdy48QAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Allow programatic iomem permissions
User-agent: Microsoft-Entourage/11.3.3.061214


On 13/7/07 16:41, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:

> OK, patch attached.  It compiles and seems to work, but hasn't been
> heavily tested yet.  I'm sure it could be more efficient, but wanted to
> check I was heading in the right direction.

No, it doesn't compile. This isn't baked enough to really comment on. Looks
like kind of the right thing though. Bear in mind that after a certain point
(in particular after the info is lost of from the grantee's maptrack handle)
then the unmap operation *must* complete in full. Otherwise the innocent
granter can be left with leaked grant entries for all time!

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel