Re: interrupts

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

 



On 9/21/05, raja <vnagaraju@xxxxxxxxxxxx> wrote:
> thank you so much.
> 
> I tried that but the thing is in this code we are creating a timer and
> it will execute the handler when ever the
> tick_timer.expires = jiffies + 1
> 
> But my need is iwll get the message when ever the timer interrupt
> occures.i.e for every tick rate.
> 

As mentioned by manu, timer interrupts can't be shared so the approach
of Sanjay looks fine to me ..... b/c when you say jiffies+1 you are
actually mentioning that for every timer tick signal me and timer tick
signals is actually a timer interrupt occuring every tick ....

And if you want to get the signal when ever timer interrupt occurs for
any other kernel module/part then you might hav to hack into the
kernel rather creating a module and trying to get timer interrupt in
it .... (CMIIW)


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