Re: use of preempt_count instead of in_atomic() at leds-gpio.c

From: Alan Stern
Date: Wed Mar 26 2008 - 10:29:16 EST


On Tue, 25 Mar 2008, David Brownell wrote:

> I _almost_ hate bringing this lovely flamage back onto $SUBJECT ... but
> what's the resolution for the leds-gpio.c issue? I've not seen a merge
> notice for the patch I submitted a week ago now:
>
> http://marc.info/?l=linux-kernel&m=120597839009399&w=2
>
> Just a "leaning..." comment:
>
> http://marc.info/?l=linux-kernel&m=120606104619198&w=2
>
> Seems to me that by now there ought to be resolution on at least
> one of the issues brought up on this thread. :)

Is it reasonable to have two version of that subroutine: one meant to
be called in a sleepable context and the other to be called when
sleeping isn't allowed?

Alan Stern

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