|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] linux/x86: convert 'cpu' (and a few other) varia
Jan Beulich writes ("[Xen-devel] [PATCH] linux/x86: convert 'cpu' (and a few
other) variables to unsigned"):
> .. producing better code for x86-64.
>
> As usual, written and tested on 2.6.24-rc7 and made apply to the 2.6.18
> tree without further testing.
In what way does this produce better code for x86-64 ?
Normally it's IMO best practice to avoid `unsigned' other than for
bitfields, clock arithmetic, and the like, because the behaviour of
unsigned in the presence of subtraction and comparision is often
surprising.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|