From: Keir Fraser Subject: Re: [PATCH] Remove physmap page upon granttab xfer Date: Thu, 29 May 2008 11:10:20 +0100 Message-ID: References: <20080529100249.GE1898%yamahata@valinux.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080529100249.GE1898%yamahata@valinux.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Isaku Yamahata Cc: xen-devel@lists.xensource.com, Espen Skoglund , xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 29/5/08 11:02, "Isaku Yamahata" wrote: >> After the grant transfer operation completes the page no longer belongs to >> the backend domain. Thus, for absolute safety and isolation, the page must >> be removed from the backend domain's IOMMU mappings before completion of the >> grant transfer operation. Actually we should be flushing host CPU TLBs too. > > Thank you for explanation. > The patch breaks ia64 granttab xfer breakage so that it have to be fixed. > However the operation is now obsoleted one, so I don't want to make > big effort to fix. > What do you think about the following patch? How does grant transfer work on ia64? Looking at netback I don't even see how the 'hole' left by transfer of the old page gets filled by mapping in a new page. -- Keir