Re: [PATCH] bug in 2.4 bh_kmap_irq() breaks IDE under preempt patch

From: Marc-Christian Petersen (m.c.p@wolk-project.de)
Date: Thu Mar 13 2003 - 06:50:58 EST


On Thursday 13 March 2003 11:28, Jens Axboe wrote:

Hi Jens,

> > local_irq_enable();
> > ^ isn't this missing too with your suggested one-liner?
> no, the local_irq_restore() brings back the irq flags from before we did
> the irq disable. if interrupts were disabled before bh_kmap_irq() was
> called, we must not enable them. basically, maintain the same flags.
hmm, then I am blind 8-) ... Thanks.

ciao, Marc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:35 EST