Skip to contentSkip to conversation

calling kthread_create() from interrupt thread

DISCUSSION Andi Kleen 1 participant 1 message Jun 15, 2004 3 messages not in the archive

lore
Share & tools
lore

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]

Andi Kleen

author
#3 lore raw
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