Re: [PATCH] Fix preemption off of irq context on x86-64 with PREEMPT_BKL

From: Andi Kleen
Date: Sun Mar 27 2005 - 12:29:47 EST


On Sun, Mar 27, 2005 at 01:19:06AM +0100, Christophe Saout wrote:
> Hi,
>
> > x86_64-fix-config_preempt.patch
> > x86_64: Fix CONFIG_PREEMPT
>
> This patch causes another bug to show up some lines below with
> CONFIG_PREEMPT_BKL. schedule releases the BKL which it shouldn't do.
>
> Call preempt_schedule_irq instead (like for i386). This seems to fix the
> easily reproducible filesystem errors I've seen (with reiserfs, which
> heavily relies on the BKL).

I would not apply this one for now. It needs checking if the
patch that requires this change does not require more changes.

-Andi


-
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/