public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* Sleeping in Work_queue threads
@ 2006-09-25  8:35 Rajat Jain
  2006-09-25  9:44 ` borasahin
  0 siblings, 1 reply; 4+ messages in thread
From: Rajat Jain @ 2006-09-25  8:35 UTC (permalink / raw)
  To: kernelnewbies, Linux Newbie

Hi,

I understand that there is a default worker thread ("event") to which
most of the drivers submit work (for bottom half processing).

Now since this thread is catering to all of the drivers; if a driver's
code sleeps, then aren't the rest of the drivers penalised?

I mean the rest of the drivers want to do their work but the thread is
now sleeping since one of the driver has issued a sleeping call?

Wouldn't a seperate worker thread for each driver be a better design?

Thanks & Sincere Regards,

Rajat Jain
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-26  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-25  8:35 Sleeping in Work_queue threads Rajat Jain
2006-09-25  9:44 ` borasahin
2006-09-25 22:39   ` Jim Cromie
2006-09-26  9:17     ` borasahin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox