From: "Jan Beulich" Subject: Re: page ref/type count overflows Date: Mon, 26 Jan 2009 16:15:32 +0000 Message-ID: <497DEFB4.76E4.0078.0@novell.com> References: <497DD8DE.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 26.01.09 15:54 >>> >On 26/01/2009 14:38, "Jan Beulich" wrote: > >>> I'm having at the cmpxchg8b right now. I'll also widen the fields I = guess, >>> since that's pretty easy. >>=20 >> The count_info one only, or are you also intending to change _domain? >> With struct page_info pretty large already, I'd want to avoid growing = it >> needlessly. > >I'm going to change both and do it the easy way, growing the structure = from >40 to 48 bytes. You can shrink it again with the tricks you describe if >you're keen. I'm not sure how ugly the list stuff would end up, which = would >be my main concern, but I suppose you can hide it behind list.h-style >macros. I don't see there's much duplication of effort to phase the work >like this. No word on the question regarding the below-4G restriction of the Xen = heap? Also, what's the purpose of those (_domain & 1) checks in unpickle_domptr()= ? Jan