Re: Fix up riscom8 driver to use work queues instead of task queueing.

From: Linus Torvalds
Date: Mon Aug 18 2003 - 14:22:26 EST



On Mon, 18 Aug 2003, Jeff Garzik wrote:
>
> schedule_work() is _not_ for that. As currently implemented, you have
> no guarantees that your schedule_work()-initiated work will even
> begin in this century.

In theory yes. In practice no. schedule_work() tries to wake up the worker
process immediately, and as such usually gets the work done asap.

But hey, if you want to improve on the drivers, please go wild. I care
more about "real life working" than "theoretical but doesn't work".

Linus

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