Re: [RFC Patch]Use ar.kr2 for smp_processor_id

From: <>
Date: 2007-02-08 19:28:55
>>>>> "Zou" == Zou Nan hai <> writes:

Zou> Pin ar.kr2 of each CPU, so that smp_processor_id can use it.
Zou> This will save some memory foot-print when smp_procerror_id() is
Zou> called.

Accessing ar.k? takes 12 cycles... it's faster in the kernel to
use current_thread_info()->cpu which if cache hot can be done in two

Dr Peter Chubb  peterc AT           ERTOS within National ICT Australia
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Feb 08 21:29:40 2007

This archive was generated by hypermail 2.1.8 : 2007-02-08 21:33:06 EST