Re: [patch, -rc5-mm1] locking validator: special rule: 3c59x.c disable_irq()

From: Ingo Molnar
Date: Wed May 31 2006 - 16:34:59 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Wed, 2006-05-31 at 22:09 +0200, Ingo Molnar wrote:
> > Subject: locking validator: special rule: 3c59x.c disable_irq()
> > From: Ingo Molnar <mingo@xxxxxxx>
> >
> > 3c59x.c's vortex_timer() function knows that vp->lock can only be used
> > by an irq context that it disabled - and can hence take the vp->lock
> > without disabling hardirqs. Teach lockdep about this.
>
> Ingo,
>
> Did you update your
> http://people.redhat.com/mingo/lockdep-patches/lockdep-combo-2.6.17-rc5-mm1.patch
> or did I miss the patch to add the disable_irq_lockdep function?

i've updated it now, please check it out. (i sent the generic
disable_irq_lockdep() bits to lkml separately but forgot to Cc: you)

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/