>>>>> "Zou" == Zou Nan hai <nanhai.zou@xxxxxxxxx> 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 cycles. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |