Re: Periodic event in Kernel Module

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

 



On 2/8/07, Rick Blundell <rickb@xxxxxxxxxxxx> wrote:
Hello. I have written a netfilter kernel module and I want some code to
run periodically, ie a function in the module should run every 5 seconds.

I have researched and implemented a kernel work queue however this does
not have the capability of being periodic from my assessment. Can anyone
point me in the right direction?

Why not just use a soft-timer and then in the timer callback,
mod_timer it back in?

Thanks,
Nish

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