[PATCH] powerpc: Add POWER9 copy_page() loop

Anton Blanchard anton at samba.org
Mon Apr 3 10:54:34 AEST 2017


Hi Nick,

> > Good idea, I hadn't thought of embedding it all in a feature
> > section.  
> 
> It may not work currently because you get those ftr_alt_97 relocation
> errors with the "else" parts because relative branches to other code
> need to be direct and I think reachable from both places.

I thought about this a bit more. One potential issue will be
profiling - perf annotate will match the samples against the unpatched
code which could be very confusing.

Anton


More information about the Linuxppc-dev mailing list