From: Tim Deegan Subject: Re: [PATCH 2 of 3] Ensure liveness of pages involved in a guest page table walk Date: Thu, 24 Nov 2011 17:07:07 +0000 Message-ID: <20111124170707.GO77868@ocelot.phlegethon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andres Lagar-Cavilla Cc: andres@gridcentric.ca, xen-devel@lists.xensource.com, keir.xen@gmail.com, JBeulich@suse.com, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org At 08:41 -0500 on 24 Nov (1322124092), Andres Lagar-Cavilla wrote: > Instead of risking deadlock by holding onto the gfn's acquired during > a guest page table walk, acquire an extra reference within the get_gfn/ > put_gfn critical section, and drop the extra reference when done with > the map. This ensures liveness of the map, i.e. the underlying page > won't be paged out. > > Signed-off-by: Andres Lagar-Cavilla Applied, thanks. Tim.