Re: [PATCH] powerpc: pair loads and stores in copy_4k_page

2010-02-10 Thread Mark Nelson
Hi Anton, On Thursday 11 February 2010 15:07:54 Anton Blanchard wrote: > > A number of our chips like loads and stores to be paired. A small kernel > module testcase shows the improvement of pairing loads and stores in > copy_4k_page: > > POWER6: +9% > POWER7: +1.5% I just tried this on one of

[PATCH] powerpc: pair loads and stores in copy_4k_page

2010-02-10 Thread Anton Blanchard
A number of our chips like loads and stores to be paired. A small kernel module testcase shows the improvement of pairing loads and stores in copy_4k_page: POWER6: +9% POWER7: +1.5% #include #include #define ITERATIONS 1000 static int __init copypage_init(void) { struct timespe