diff options
author | David Smith <dsmith@redhat.com> | 2009-05-28 10:58:17 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-05-28 10:58:17 -0500 |
commit | 9b59029875a7e4d362834fe2d6017b74a044b2e6 (patch) | |
tree | 19836d56b098bb3621fd53bd46c538742a991252 /runtime/autoconf-inode-private.c | |
parent | cdb804af87c00bb27c871e1deb3763279de0b7e5 (diff) | |
download | systemtap-steved-9b59029875a7e4d362834fe2d6017b74a044b2e6.tar.gz systemtap-steved-9b59029875a7e4d362834fe2d6017b74a044b2e6.tar.xz systemtap-steved-9b59029875a7e4d362834fe2d6017b74a044b2e6.zip |
Avoid 1 case of holding a semaphore while mmap callbacks are being made.
* runtime/task_finder.c (__stp_call_mmap_callbacks_with_addr): Renamed
from __stp_call_mmap_callbacks_with_vma(). Also added some code from
__stp_utrace_task_finder_target_syscall_exit() that locks the 'mmap_sem'
semaphore. This avoids holding the semaphore while the mmap callbacks
are made.
(__stp_utrace_task_finder_target_syscall_exit): Just calls
__stp_call_mmap_callbacks_with_addr() in the mmap case.
Diffstat (limited to 'runtime/autoconf-inode-private.c')
0 files changed, 0 insertions, 0 deletions