]> 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>
Thu, 28 May 2009 15:58:17 +0000 (10:58 -0500)
commit9b59029875a7e4d362834fe2d6017b74a044b2e6
tree19836d56b098bb3621fd53bd46c538742a991252
parentcdb804af87c00bb27c871e1deb3763279de0b7e5
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.026668 seconds and 5 git commands to generate.