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

Andi Kleen
2005-03-27T17:28:42Z

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