This patch against 2.6.16-rc1-mm3 fixes a bug in the x86_64
implementation of kprobes that can cause an Oops or crash when a return
probe is installed on __switch_to(). On x86_64, when __switch_to()
is called, we're running on the next task's stack but current points
to the previous task. The fix handles this special case, causing the
kretprobe_instance to be hashed with the next task, where it will be
sought when __switch_to() returns. Please apply.
Acked-by: Prasanna S Panchamukhi <[email protected]>
Signed-off-by: Jim Keniston <[email protected]>