[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About tasklets



Hello everyone,
   I dont think i am realling getting the point of
tasklets. Concider this scenerio: An interrupt of mine
gets called on each packet received at an ethernet
deviece. As the processing that needs to be done per
packet is a bit heavy to be done in the interrupt
routine, i schedule a tasklet to run for each packet.
Here starts my problem. I need to tell the data that
would be passed to the tasklet routine in advance (at
the declaration) but i get the data (skbuffs) on
runtime. Am i missing something here or i did'nt
really understood LDD?

=====
"The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts." --Bertrand Russell

"We are convinced that freedom without Socialism is privilege and injustice, and that Socialism without freedom is slavery and brutality."  from the book: "The Political Philosophy of Bakunin".

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/