lkml.org 
[lkml]   [2003]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Fix up riscom8 driver to use work queues instead of task queueing.

On Mon, 18 Aug 2003, Jeff Garzik wrote:
>
> Should we just make schedule_delayed_work(foo, 1) the default for a
> schedule_work() call?

Why? There are cases where you may really want to get the work done asap,
so the regular "schedule_work()" is the right thing. While the "delayed"
thing is for stuff that explicitly doesn't want to happen immediately,
because we expect to aggregate more into it.

Having done a few serial drivers (not because I want to, but because
nobody else seems to be doing them), I definitely see the need for both.

For example, the hangup case wants to be done asap, not delayed.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.052 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site