]> sourceware.org Git - systemtap.git/commit
More PR13083 fixes to avoid sleeping in the task_finder.
authorDavid Smith <dsmith@redhat.com>
Thu, 27 Oct 2011 15:24:45 +0000 (10:24 -0500)
committerDavid Smith <dsmith@redhat.com>
Thu, 27 Oct 2011 15:24:45 +0000 (10:24 -0500)
commit93ee09d508e10d054465c63553b30539d70e0c4b
tree66efa6d880a65ad0e1cfa80b8144bcd53594aed7
parent5ffdc7b036760ef6ebb10e4c0ddf38b267b16e03
More PR13083 fixes to avoid sleeping in the task_finder.

* runtime/task_finder.c (__stp_get_mm_path): Call down_read_trylock()
  instead of down_read() to avoid the possibility of sleeping.
  (stap_start_task_finder): Call task_lock() to make sure a task's mm
  doesn't go away while we're looking at it.
runtime/task_finder.c
This page took 0.028035 seconds and 5 git commands to generate.