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

Re: [Xen-devel] page_alloc query





On 7/3/07 09:18, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>> And I really think using signed variables for array indices is odd - it
>> performs
>> worse on x86-64/ia64 at least (because of the extra sign extension, whereas
>> the zero extension is implied in most/some operations), and it certainly is
>> contrary to how arrays work (they don't normally have fields accessible with
>> negative indices).
> 
> e.g. by instead doing
> 
>         for ( zone = zone_hi + 1; zone-- > zone_lo; )
> 
> Jan

Hmmm... Yeah, okay.

 -- Keir


_______________________________________________
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®.