[lkml]   [2004]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectAbout Tasklet scheduling
Dear all

I am new to kernel driver development. Thanks for any help.

I am modifing a USB Ramdisk to a USB mass storage(MTD) driver in a
dragonball ARM9 platform. I stop when using tasklet. The USB driver
setup with endpoint 1 and 2 to be Interrupt IN and OUT point. So when
ever there is a interrupt , I schedule the tasklet to read or write with
semphone variable protection.
The problem i am facing is that the read/write process is TOO SLOW
for the host to response. I have tried to not use tasklet and call the
read/write function directly, it works with small file but "schedule in
interrupt" oops prompt out when transfer a large file . I have also try
to use spin_lock_irqsave.. but it will stop the interrupt...

I am in a hurry on this. Please give me a hand.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.030 / U:5.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site