Re: [PATCH 2.6.25.10 1/2] libata: fix locking for kmap_atomic

From: Alan Cox
Date: Sun Jul 13 2008 - 06:43:48 EST


On Sun, 13 Jul 2008 01:27:36 +0200
"Jakub W. Jozwicki" <jozwicki@xxxxxxxx> wrote:

> Change locking surrounding kmap_atomic from local_irqsave to
> local_irqsave_nort. This fixes issues with PREEMPT_RT.
>
> Signed-off-by: Jakub Jozwicki <jozwicki@xxxxxxxx>

The right way to fix this is to use a bounce buffer. I sent Jeff patches
to do that a couple of times. I'm not sure what has happened to them
since ? So NAK this, we should apply the patch to actually fix the bug
instead.

Jeff ?

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