Hi Mulyadi I am sorry i was not able to present my requirement clearly..infact of the two options that u mentioned, the 1st one is wat i require..If i get 5 interrupts, then i want the tasklet to get executed 5 times.Since this is the requirement, the linked list implementation doesnt solve the purpose. Thanks and Regards, Vijay Ram.C > Hello.... > > > You can create a queue in which when interrupts occurs place your > > data to be consumed in it and then from there you can schedule the > > tasklet or can create thread which will consume the data from the > > queue, so I don;t think you might lose any of the data/interrupt > > processing ... (by the way I havn't tried/used interrupt handlers, so > > I might be wrong) ............ > > Allow me to elaborate :) OK Vijay, actually which one do you concern > more: > 1. need a precise number of tasklet invocation under certain time > limitation? For example, on 5 consecutives interrupts, you want the > same tasklet run 5 times? > > OR > > 2. there are new data coming from a device and it is copied to kernel > mode pages on RAM (maybe as linked list). Then you trigger the tasklet > to consume/process this data? > > Most likely (I think), you need #2. In that case, you can follow > Fawaad's advice. Sorry, this is the best idea I can offer for > now...please study the do_irq() and do_softirq() on > arch/i386/kernel/irq.c (for kernel 2.4.x) for complete understanding on > how all these things works. LDD3 is another great resource too.. > > regards > > Mulyadi > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/