Re: 2.6.3-rc2-mm1

From: Andrew Morton
Date: Thu Feb 12 2004 - 07:10:09 EST


Anton Blanchard <anton@xxxxxxxxx> wrote:
>
>
> > This kernel and also 2.6.3-rc1-mm1 have a nasty bug which causes
> > current->preempt_count to be decremented by one on each hard IRQ. It
> > manifests as a BUG() in the slab code early in boot.
> >
> > Disabling CONFIG_DEBUG_SPINLOCK_SLEEP will fix this up. Do not use this
> > feature on ia32, for it is bust.
>
> A few questions spring to mind. Like who wrote that dodgy patch?

The dog wrote my homework?

> And any ideas how said person (who will remain nameless) broke ia32?

Not really. I spent a couple of hours debugging the darn thing, then gave
up and used binary search to find the offending patch.

<looks>

include/asm-i386/hardirq.h:IRQ_EXIT_OFFSET needs treatment, I bet.
-
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/