Thread (10 messages) flat view 10 messages, 2 authors, 2012-09-13

Re: [v3][PATCH 2/3] ppc/kprobe: complete kprobe and migrate exception frame

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-09-12 10:38:23

On Wed, 2012-09-12 at 16:55 +0800, tiejun.chen wrote:
quoted
to worry about nor stack frame to create etc...
If you don't like this v4, let me know and then I can go back memcpy
for next 
version. 
Just open code the whole copy. It should be easy really. As I said, you
have the src and dst already in registers and you know they are aligned,
so just put the size of the frame in a register (divided by 4), do an
mtctr and do a little load_update/store_update loop to do the copy, all
in the asm.

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