]> sourceware.org Git - systemtap.git/commit
Avoid holding semaphore while making mmap callbacks.
authorDavid Smith <dsmith@redhat.com>
Mon, 1 Jun 2009 17:20:08 +0000 (12:20 -0500)
committerDavid Smith <dsmith@redhat.com>
Mon, 1 Jun 2009 17:20:08 +0000 (12:20 -0500)
commitbec8cf694b0cd89dfa3d082e611326d7bcfad884
treec342f975e15fa26251e147a5adccc14648e0fb02
parent0fa400f2b00ade1b3cb9ef4fb59cdd63f4fb9986
Avoid holding semaphore while making mmap callbacks.
* runtime/task_finder.c (__stp_call_mmap_callbacks_for_task): Grabs the
  'mmap_sem' sempaphore. Caches vma information, releases the semaphore,
  then makes mmap callbacks.
  (__stp_utrace_task_finder_target_quiesce): Calls
  __stp_call_mmap_callbacks_for_task() to make mmap callbacks on initial
  attach to a task.
runtime/task_finder.c
This page took 0.027541 seconds and 5 git commands to generate.