RE: [PATCH v3 3/3] x86: usercopy: reimplement arch_within_stack_frames with unwinder

From: David Laight
Date: Mon Apr 09 2018 - 09:14:09 EST


From: kpark3469@xxxxxxxxx
> Sent: 09 April 2018 12:59
>
> The old arch_within_stack_frames which used the frame pointer is
> now reimplemented to use frame pointer unwinder apis. So the main
> functionality is same as before.

How much slower does this make the code?
Following stack frames using %bp is reasonably quick.
I can't imagine some of the other unwinder APIs being any where
near that fast.
While fine for fault tracebacks, using them during usercopy
is likely to have measurable performance impact.

David