Re: [PATCH 2/4] ppc32/kprobe: introduce copy_exc_stack

From
tiejun.chen <hidden>
Date
2011-12-13 04:59:38
Reply to
Benjamin Herrenschmidt, 2011-12-12
Benjamin Herrenschmidt wrote:
On Mon, 2011-12-12 at 16:50 +0800, Tiejun Chen wrote:
quoted
We need a copy mechanism to migrate exception stack. But looks copy_page()
already implement this well so we can complete copy_exc_stack() based on
that directly.
I'd rather you don't hijack copy_page which is quite sensitive. The
emulation isn't performance critical so a "dumber" routine would work
Yes, I just think we should introduce good performance so I 'steal' the original
copy_page().
fine.

Why not use memcpy ? You can call it from assembly.
I'd like to switch to memcpy.

Thanks
Tiejun
Thread (16 messages) 16 messages, 2 authors, last reply 2011-12-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help