[lkml]   [2002]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectUsing tq_immediate

If you want to use tq_immediate, here's the current way to do it:

queue_task(&bcs->tqueue, &tq_immediate);

There's about 80 drivers in the tree which do this, FYI. This sucks,
because it sets up a linkage between task queues and bottom halves.
If you, like I, wish for bottom halves to go away, we're going to have
to change this. Some people want to eradicate task queues too -- and
while I think this is a fine idea, I can't see it happening in the next
week or so.

My proposal is:

queue_task(&bcs->tqueue, &tq_immediate);

While this is a little magic (there's no obvious connection between the
two), and it's special-purpose (no equivalent for other task queues),
I think it's an acceptable compromise that doesn't require taking out
all 80 drivers and shooting them.

Revolutions do not require corporate support.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.031 / U:6.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site