From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH]Add a flag for shadow pages Date: Wed, 04 Mar 2009 09:20:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: 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: "Jiang, Yunhong" , Tim Deegan Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 04/03/2009 08:46, "Jiang, Yunhong" wrote: > Currently we don't know that a page is a shadow page unless we are in shadow > handler. This cause error when we try to get the page owner for the shadow > page, this snippet add a flag to it. Ah... Is this for your new page-offlining magic? You don't need it. If you can't get_page(get_page_owner()) then that tells you the page has no owner, or the owner changed under your feet. Pretty simple. -- Keir