[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070703201900.GA6257@elte.hu>
Date: Tue, 3 Jul 2007 22:19:00 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Christoph Lameter <clameter@....com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Andre Noll <maan@...temlinux.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Linux 2.6.22-rc7
* Christoph Lameter <clameter@....com> wrote:
> On Tue, 3 Jul 2007, Ingo Molnar wrote:
>
> > yeah. Your change looks good to me. You could add a
> > local_irq_enable_in_hardirq() to the original place, that will map
> > to a local_irq_enable() on non-lockdep kernels and will be a NOP on
> > lockdep kernels. (This is a bit hacky though.)
>
> Then kernels with lockdep would spew out lots of messages later in
> boot because kmem_cache_init disabled interrupts for good.
no, it would/should result in exactly the same kernel image and lockdep
behavior as with your current patch. (but when lockdep is disabled in
the .config then interrupts are enabled earlier on.) Not a big issue,
just noted this possibility.
Ingo
-
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