Re: [RFC+PATCH] calling request_irq() with lock held (+sungem fix)

From: David S. Miller (davem@redhat.com)
Date: Wed Jul 30 2003 - 18:42:52 EST


On 30 Jul 2003 13:30:44 -0400
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> i386 was sort-fixed by using GFP_ATOMIC in the kmalloc() done inside
> request_irq() itself, but what about all of the proc related stuff
> that gets done when setup_irq() calls register_irq_proc() ? So the
> _fact_ is that the current implementations in archs, including i386,
> are unsafe to call from "atomic" context.

That's true.

> David: this patch fixes sungem for that.

Ok, I'll review this and probably apply it, thanks.
-
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 : Thu Jul 31 2003 - 22:00:48 EST