[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] _domain in page_info structure


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: jeet <jeet_sat12@xxxxxxxxxxx>
  • Date: Tue, 27 Mar 2007 13:55:52 +0530 (IST)
  • Delivery-date: Tue, 27 Mar 2007 01:27:31 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=39k7nLcQMmTEpE6zHHcQGH9d3VSCXnffiLnlqRhcgnWliUY3wgnVCOAfiHBDaOZRI/HmK77cjKYotcZrCacM9vK12YWvTQksa9u0bLq2s4EMcKC4MtnW+Ew0Q33D52htrCyY9iJOWZqrH5pc2enTpjoE0Rnm15dkCSMMQ+cAzVQ=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi All,

I am looking into the get_page() function implementation in Xen
where I encounter the reference to _domain

nd = page->u.inuse._domain;

what this field is used for? 

 I found comment in source ode about it

/* Meaning of the _domain field in shadow pages
 * --------------------------------------------
 *
 * In shadow pages, this field will always have its least significant bit
 * set.  This ensures that all attempts to get_page() will fail (as all
 * valid pickled domain pointers have a zero for their least significant bit).
 * Instead, the remaining upper bits are used to record the shadow generation
 * counter when the shadow was created.
 */

But I am not able to understand this.What is actual significance of this 
variable?

Please provide your valuable replies.

jeet
 



                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.