[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200710241055.42567.arnd@arndb.de>
Date: Wed, 24 Oct 2007 10:55:41 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Jeff Garzik <jeff@...zik.org>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
matthew@....cx, ralf@...ux-mips.org, adobriyan@...il.com,
viro@....linux.org.uk, viro@...iv.linux.org.uk,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [PATCH 1/2] irq_flags_t: intro and core annotations
On Wednesday 24 October 2007, Jeff Garzik wrote:
> >
> > Could we add a debug option that warned if spin_lock_irq is
> > executed with IRQs turned off already?
>
> Seems reasonable but perhaps arch-specific?
>
> Also, I think someone (akpm?) mentioned an effort had been made before,
> and run into some problems. I don't have details...
I already posted a patch in this thread that does exactly that (and
warn about spin_unlock_irq with IRQs enabled), see my earlier reply.
The patch works fine, but my feeling is that it belongs into lockdep
instead.
Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists