Re: [PATCH -rt] fix preempt count underflow in user_trace_stop

From: Ingo Molnar
Date: Mon Mar 12 2007 - 12:47:21 EST



* Michal Schmidt <mschmidt@xxxxxxxxxx> wrote:

> When playing with trace_user_trigger_irq in order to trace
> IRQ->userspace latencies, I encountered a bug in the latency tracer.
> If I have wakeup_timing enabled and attempt to stop the trace in my
> userspace program, the system crashes. This is caused by an unbalanced
> preempt_enable() which underflows the preempt count.

good catch! I've applied it,

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