From: Keir Fraser Subject: Re: page_alloc query Date: Wed, 07 Mar 2007 08:27:53 +0000 Message-ID: References: <45EDE6D8.2040505@virtualiron.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45EDE6D8.2040505@virtualiron.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: Ben Thomas , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 6/3/07 22:10, "Ben Thomas" wrote: > Why are the zones unsigned ints when they are used as indices ? > The ASSERTS do checks to keep you out of some amount of > trouble, but the loop appears to be able to get you quickly > into trouble by driving the index negative and with a check > that doesn't appear to be effective. This is already fixed in the staging tree. -- Keir