This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/2452] kretprobe spinlock recursive remove
- From: "yanmin dot zhang at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 Mar 2006 08:28:08 -0000
- Subject: [Bug kprobes/2452] kretprobe spinlock recursive remove
- References: <20060313062327.2452.bibo.mao@intel.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From yanmin dot zhang at intel dot com 2006-03-13 08:28 -------
The patch looks like a hack and disables kprobe within the kret handler.
A thorough approach is to change kretprobe_inst table as a list per
task_struct and delete the spin lock in trampoline_handler, then estimate if
it's a reentrancy for current task. This approach has better scalability and
also solve this issue.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2452
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.