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)
Jim Keniston
jkenisto@linux.vnet.ibm.com
Wed Oct 5 15:24:00 GMT 2011
On Wed, 2011-10-05 at 08:46 -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?
I think yes. But sorry, I've been out of the loop on Srikar's uprobes
implementation for quite a while, so you'll have to ask him.
Wrt uretprobes, I've seen a draft implementation a while back, but I
haven't noticed it being posted to LKML.
> (Note that in the new utrace-less task_finder I'm working on, handlers
> can't sleep since they get called from a tracepoint, whose handlers
> can't sleep.)
>
Jim
More information about the Systemtap
mailing list