Re: Doubt in bottom halves.

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

 



On 9/30/05, Vijay Ram.C <cvijay@xxxxxxxxxxxxxxxxxx> wrote:
>
> Hi,
> Thanks for the reply. But i still have some problem inspite of the
> explanation.
> When the interrupt is occured, it takes a maximum of 10ms for the tasklet to
> get scheduled.
> The possibility for the occurance of the interrupt is 10ns. So Assume on the
> occurance of the first interrupt,
> the tasklet is not yet scheduled. In the meanwhile, another interrupt has
> occured. Then the previous tasklet
> would not be scheduled anymore..Am i right. Plz let me know if my
> understanding is right. If it is right, can u plz pointer me
> a way by which all the tasklets be scheduled without the loss of any of
> them???
> Is it possible at all????
>

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) ............


--
Fawad Lateef

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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux