diff options
author | Josh Stone <jistone@redhat.com> | 2009-03-12 17:12:38 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-03-13 14:32:31 -0700 |
commit | 52aeb26b8d83c26e00adaf70bbf5a3a828689fb2 (patch) | |
tree | fcc966c5906c8edf79ba0e2500d9a475d2396cf1 /doc/Tapset_Reference_Guide | |
parent | 2497c78e8aa704366683dad56fc8d749a5e92f52 (diff) | |
download | systemtap-steved-52aeb26b8d83c26e00adaf70bbf5a3a828689fb2.tar.gz systemtap-steved-52aeb26b8d83c26e00adaf70bbf5a3a828689fb2.tar.xz systemtap-steved-52aeb26b8d83c26e00adaf70bbf5a3a828689fb2.zip |
PR9947: move runtime cleanup out of the work queue
The kernel lockdep checking found a possible deadlock if a forced rmmod
tried to destroy _stp_work_queue at the same time that the work queue
was unregistering tracepoints. An unlikely scenario, but still
possible.
Now the work queue will just issue a STP_REQUEST_EXIT down to usermode,
and usermode will echo back an STP_EXIT that triggers the actual probe
cleanup. This way the unregistrations are happening in exactly the same
context as the registrations were.
Diffstat (limited to 'doc/Tapset_Reference_Guide')
0 files changed, 0 insertions, 0 deletions