Re: Random scheduler/unaligned accesses crashes with perf lockevents on sparc 64

From: Peter Zijlstra
Date: Tue Apr 06 2010 - 08:57:49 EST

On Tue, 2010-04-06 at 14:54 +0200, Mike Galbraith wrote:
> > ARGH.. yes
> >
> > Also, I guess that should live in perf_output_lock/unlock() not in
> > perf_event_task_output().
> >
> > Egads, how to fix that
> Damn, so deadlock fix isn't a fix. No idea.

well it is,. but it breaks sparc..

I'm currently compile testing a bunch to fix all that up by doing what
davem suggested: local_irq_save_nmi()/local_irq_restore_nmi().

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at