Re: [PATCH] Export current_is_keventd() for libphy

Andrew Morton
2006-12-06T15:57:50Z

On Wed, 6 Dec 2006 15:25:22 +0000 (GMT)
"Maciej W. Rozycki" <macro@linux-mips.org> 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 :(