Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752808AbXJVVrP (ORCPT ); Mon, 22 Oct 2007 17:47:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751412AbXJVVrA (ORCPT ); Mon, 22 Oct 2007 17:47:00 -0400 Received: from www.tglx.de ([62.245.132.106]:57169 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751391AbXJVVq7 (ORCPT ); Mon, 22 Oct 2007 17:46:59 -0400 Date: Mon, 22 Oct 2007 23:46:19 +0200 (CEST) From: Thomas Gleixner To: Arnd Bergmann cc: Andrew Morton , Linus Torvalds , matthew@wil.cx, ralf@linux-mips.org, adobriyan@gmail.com, viro@ftp.linux.org.uk, viro@zeniv.linux.org.uk, LKML , linux-arch@vger.kernel.org, Ingo Molnar , Peter Zijlstra Subject: Re: [PATCH 1/2] irq_flags_t: intro and core annotations In-Reply-To: <200710222334.45667.arnd@arndb.de> Message-ID: References: <20071020235546.GB1825@martell.zuzino.mipt.ru> <20071022130223.f7d75c31.akpm@linux-foundation.org> <200710222334.45667.arnd@arndb.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1024360001-1193089581=:3167" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1111 Lines: 27 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1024360001-1193089581=:3167 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8BIT On Mon, 22 Oct 2007, Arnd Bergmann wrote: > On Monday 22 October 2007, Andrew Morton wrote: > > It's almost always a bug to do spin_lock_irq() when local interrupts are > > disabled.  However iirc when we've tried to add runtime debugging to catch > > that, it triggered false-positives which made the idea unworkable.  I forget > > where. > > I tried this as well a few years ago, and I think I hit a few places in > the early initialization, but nothing unfixable. Hmm, lockdep checks this already. If it does not catch it, we need to fix it. tglx --8323328-1024360001-1193089581=:3167-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/