Re: [BUG] perf: hard lockup when using perf-sched

From: Li Zefan
Date: Sun Mar 28 2010 - 22:00:46 EST


> This seems to work, in contrast to everything I tried yesterday. Not
> exactly a thing of beauty, but at least it's an option, so...
>
> perf: fix perf sched record forkbomb deadlock
>
> perf sched record can deadlock a box should the holder of handle->data->lock
> take an interrupt, and then attempt to acquire an rq lock held by a CPU trying
> to acquire the same lock. Disable interrupts.
>

This patch fixes the lockup on my box. Thanks!

> Signed-off-by: Mike Galbraith <efault@xxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Reported-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
> LKML-Reference: <new-submission>
>
--
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/