Re: how to process data recvd from a device that wont give interrupts

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

 



Hi...

On Thu, Oct 4, 2012 at 7:03 PM, devendra.aaru <devendra.aaru@xxxxxxxxx> wrote:
> Hi all,
>
> I found that you can use a kernel timer and poll for the hardware
> interrupt registers whether the interrupt flag is set or not,
>
> but this will take atleast some good amount of CPU.

yeah, thing is, as you know, timer fires interrupt and CPU will
certainly have to service it. So, it's impossible to work around it
IMHO

> are there any ways other than using the kernel timer?

perhaps something less intrusive like creating kernel thread and its
function is solely checking register state?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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