From: Keir Fraser Subject: Re: [PATCH] Allow programatic iomem permissions Date: Fri, 13 Jul 2007 16:53:45 +0100 Message-ID: References: <1184341284.4144.46.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: <1184341284.4144.46.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 Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 13/7/07 16:41, "Kieran Mansley" 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