[RFC PATCH 0/6] kprobes: remove global kprobe_lock
Ananth N Mavinakayanahalli
ananth@in.ibm.com
Fri Jul 29 18:52:00 GMT 2005
Hi,
The following set of patches replaces the global spinlock (kprobe_lock)
with an rwlock. With this change, it is now possible to have parallel
execution of kprobes (same/different), without having to spin on the
kprobe_lock. Of course, it is required that the handlers are reentrant
so as to obtain accurate results, or the handlers have to take care of
serializing in case they share variables (counters for example).
Note that kretprobe handlers are still serialized by the kretprobe_lock
which is a spinlock.
Patches against 2.6.13-rc3-mm3.
Ananth
More information about the Systemtap
mailing list