This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] page_alloc query

To: Ben Thomas <bthomas@xxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] page_alloc query
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 07 Mar 2007 08:27:53 +0000
Delivery-date: Wed, 07 Mar 2007 00:26:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45EDE6D8.2040505@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acdgkn/cvlptccyFEduL2AAWy6hiGQ==
Thread-topic: [Xen-devel] page_alloc query
User-agent: Microsoft-Entourage/
On 6/3/07 22:10, "Ben Thomas" <bthomas@xxxxxxxxxxxxxxx> 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

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>