calling kthread_create() from interrupt thread
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Dean Nelson
As mentioned above, it is possible for this "simple" function to sleep/block for an indefinite period of time. I was under the impression that one couldn't block a work queue thread for an indefinite period of time. Am I mistaken?
You could create your own work queue upfront. Blocking an generic workqueue for a long time is indeed nasty.
-Andi