Thread (13 messages) 13 messages, 6 authors, 2011-06-17

Re: [PATCH 1/3] powerpc: POWER7 optimised copy_page using VMX

From: Anton Blanchard <hidden>
Date: 2011-06-17 05:26:02

Hi,
Yeah, I'm pretty against CPU_FTR_POWER7.  Every loon is going to
attach anything POWER7 to it.  

I'm keen to see it setup in  __setup_cpu_power7.  Either a function
pointer or use the patch_instruction infrastructure to avoid indirect
function calls on small copies.  
Instruction patching in __setup_cpu_power7 could work. We might want to
have a nop at the start of the base functions and a label at the start
of the next instruction so we can easily override the base function and
jump back to it if things are too hard (like I do in the
copy_tofrom_user patch).

Anton
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help