Fixed PR13146 by not allowing memory allocations to sleep (Was: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-151-g8e794e9)

Ananth N Mavinakayanahalli ananth@in.ibm.com
Wed Oct 5 16:00:00 GMT 2011


On Wed, Oct 05, 2011 at 08:46:43AM -0500, David Smith wrote:
> On 09/27/2011 06:00 PM, Jim Keniston wrote:
> 
> > I haven't seen this explicitly mentioned wrt this thread or PR13146, but
> > uprobes and uretprobe handlers (which are called from the utrace
> > report_signal callback) can sleep.
> 
> 
> Jim,
> 
> For my information, can uprobe/uretprobe handlers sleep in the new
> uprobes being proposed upstream?

Yes, they can sleep. The handlers get called on the path back to
userspace (do_notify_resume()) similar to what utrace used to do.

Ananth



More information about the Systemtap mailing list