Skip to contentSkip to conversation

Question: work_queue or kthreads

DISCUSSION Mockern 2 participants 2 messages Mar 3, 2007 – Mar 4, 2007

lore
Share & tools
lore

Mockern

author
#0 lore raw

hi,

I need to use something like the work_queue to separate my ISR and long time sending data function in my driver. I noticed, that after using work_queue my driver became slow than it was before. Should I use kthreads to make it faster or something else? I can't use tasklet since tasklet can't sleep.

thank you

#1 lore raw
Quoted 4 lines · Mockern

hi,

I need to use something like the work_queue to separate my ISR and long time sending data function in my driver. I noticed, that after using work_queue my driver became slow than it was before. Should I use kthreads to make it faster or something else? I can't use tasklet since tasklet can't sleep.

Please post a link to your driver source code.

Lee