The following patches against for-2.2.25 do some optimizations related to the usage smp_processor_id().
The xics one has been tested on SMP on 2.6.23, and still applies cleanly. In time.c I started with the per_cpu to __get_cpu_var transformations which affect ppc64 (the calls were added in 2.6.24), and from there went looking for redundant global accesses from objdump -d --reloc. I primarly looked at the pseries_defconfig and checked the results on chrp32_defconfig. Optimization results were checked on debian using gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) milton _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev