[Bug kprobes/2452] kretprobe spinlock recursive remove

yanmin dot zhang at intel dot com sourceware-bugzilla@sourceware.org
Mon Mar 13 08:28:00 GMT 2006


------- 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.



More information about the Systemtap mailing list