Re: [RFC] [PATCH 2.6.37-rc5-tip 14/20] 14: uprobes: Handing int3and singlestep exception.

From: Peter Zijlstra
Date: Tue Jan 25 2011 - 08:56:41 EST


On Thu, 2010-12-16 at 15:29 +0530, Srikar Dronamraju wrote:
> + if (unlikely(!utask)) {
> + utask = add_utask();
> +
> + /* Failed to allocate utask for the current task. */
> + BUG_ON(!utask);

That's not really sane...

> + utask->state = UTASK_BP_HIT;
> + }
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/