Re: [PATCH v3 2.6.39-rc1-tip 15/26] 15: uprobes: Handing int3 andsinglestep exception.

From: Peter Zijlstra
Date: Tue Apr 19 2011 - 09:04:17 EST


On Fri, 2011-04-01 at 20:05 +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 nice is it ;-) means I can make the kernel go BUG by
simply applying memory pressure.

> + 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/