From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank van der Linden Subject: Re: [RFC][PATCH] Basic support for page offline Date: Tue, 10 Feb 2009 17:39:13 -0700 Message-ID: <49921E31.9070705@Sun.COM> References: <4991ECF5.80408@Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 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" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Jiang, Yunhong wrote: > > Frank, can you please elabrate what's the status mean? What's the usage by Solaris FMA code? Do you mean how the page is used (i.e. information in the page_info->count_info)? > > As for the ownership of the page, I'm not sure if we can do that without trying online/offline it, since the page may be assigned to another guest after the query if it is not marked offline-pending (mark offline pending make sure it will not be used anymore if freed). The usage is pretty simple: there is an interface to: * retire a page * unretire a page * check on the status The status doesn't have to have much info. The Solaris interface returns one of: * retired * not retired * pending * invalid page I understand that the owner may be harder to return, and it isn't really important, so it doesn't matter if that information is not available from the hypercall. - Frank