Re: [PATCH] Export current_is_keventd() for libphy

From: Andrew Morton
Date: Wed Dec 06 2006 - 10:58:06 EST


On Wed, 6 Dec 2006 15:25:22 +0000 (GMT)
"Maciej W. Rozycki" <macro@xxxxxxxxxxxxxx> wrote:

> > Maybe the lesson here is that flush_scheduled_work() is a bad function.
> > It should really be flush_this_work(struct work_struct *w). That is in
> > fact what approximately 100% of the flush_scheduled_work() callers actually
> > want to do.
>
> There may be cases where flush_scheduled_work() is indeed needed, but
> likely outside drivers, and I agree such a specific call would be useful
> and work here.

I think so too. But it would be imprudent to hang around waiting for me
to write it :(
-
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/