Re: [PATCH 2.6.12.5 1/2] lib: allow idr to be used in irq context

From: Andrew Morton
Date: Sun Aug 21 2005 - 03:27:36 EST


Jim Houston <jim.houston@xxxxxxxx> wrote:
>
> On Tue, 2005-08-16 at 18:03, Luben Tuikov wrote:
>
> > If idr_get_new() or idr_remove() is used in IRQ context,
> > then we may get a lockup when idr_pre_get was called
> > in process context and an IRQ interrupted while it held
> > the idp lock.
>
> Hi Everyone,
>
> Luben's changes make sense please merge them.
>

Well yes, the change makes sense if there's actually a caller which needs it.

If there is such a caller then Luben should identify it, please.
-
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/