This is the mail archive of the systemtap@sources.redhat.com mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC PATCH 0/6] kprobes: remove global kprobe_lock


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]