Hi!
On 07:50 Tue 16 Sep , Himanshu Chauhan wrote:
> Michael Blizek wrote:
>> Do you have to do more than use waitqueues to make a kernel thread sleep
>> properly?
>>
> You don't. But when you are using workqueues don't have to worry anything
> else than the function that would be doing the work. Why take unnecessary
> work?
Workqueues are for fairly short tasks. If you use them for long tasks or expect
a load which is high enough to saturate the cpu, you will block other workqueue
users.
-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ