From: Tim Deegan Subject: Re: page ref/type count overflows Date: Thu, 29 Jan 2009 11:07:20 +0000 Message-ID: <20090129110720.GC5300@york.uk.xensource.com> References: <4981782A.76E4.0078.0@novell.com> <498198E1.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <498198E1.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Gianluca Guida , xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org At 10:54 +0000 on 29 Jan (1233226449), Jan Beulich wrote: > Below is what I currently have it at. I'm afraid it won't get much simpler, > but I think it reasonably expresses the individual overlays. There are three > more transformations I plan to make: > - _domain -> unsigned int > - next_shadow -> __mfn_t > - split u into two unions (one having type_info, type/pinned/count, and > cpumask, the other having _domain, back, and order). > > That last step is to avoid having to re-add __attribute__ ((__packed__)), > so that other (future) changes to the structure won't risk mis-aligning any > fields again. > > Does this look acceptable? Seems fine, which is to say I don't see much advantage but have no objection. :) Please try to make it clear in the comments which fields belong to a page which _has_ a shadow and which to a page that _is_ a shadow. Cheers, Tim. -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]