[PATCH] x86_64: Don't allow kprobes on __switch_to
authorAndi Kleen <ak@suse.de>
Fri, 3 Feb 2006 20:51:38 +0000 (21:51 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 5 Feb 2006 00:43:14 +0000 (16:43 -0800)
commit099f318b8d97490e58c595eb1b6d3415da5ccc03
tree48a621571d97cf72b0ade93033ef6d68d2b676b8
parent16acc0cd8f1aac63ddf5228c5bc29cf7d31627f4
[PATCH] x86_64: Don't allow kprobes on __switch_to

kprobes cannot deal with the funny calling conventions when it
runs on a different stack when it returns. If someone wants
to instrument context switch they can add a probe to schedule()
instead.

Cc: jkenisto@us.ibm.com, prasanna@in.ibm.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/process.c