]> sourceware.org Git - systemtap.git/commit
Avoid 1 case of holding a semaphore while mmap callbacks are being made.
authorDavid Smith <dsmith@redhat.com>
Thu, 28 May 2009 15:58:17 +0000 (10:58 -0500)
committerDavid Smith <dsmith@redhat.com>
Tue, 9 Jun 2009 20:28:06 +0000 (15:28 -0500)
commit0bd709c3a8ff717f3ad78fdc079ce0468bec3ffa
treeadde7226bf83e1692482683704cb1025216c34d9
parentaf274e5bd4593fa79c0489e0b6105f4bd23310c8
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.
runtime/task_finder.c
This page took 0.028206 seconds and 5 git commands to generate.