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

[Xen-devel] RE: [PATCH 4/4] x86/HPET: adjust types



Jan Beulich wrote on 2011-03-11:
> 'unsigned int' is better suited as an array index on x86-64.
> 
> 'u32' produces better code than 'unsigned long' on x86-64, so use the 
> former for storing 32-bit values read from the hardware.
> 
> this_cpu() uses an implicit smp_processor_id(), and hence using
> per_cpu() when the result of smp_processor_id() is already available 
> is more efficient.
> 
> Fold one case of cpu_isset()+cpu_clear() into cpu_test_and_clear().
> 
> Drop the unused return value of evt_do_broadcast().
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Acked-by: Wei Gang <gang.wei@xxxxxxxxx>

Jimmy

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