I need to do task at regular intervals in a kernel module after the module has loaded. How do I achieve that. The examples on the web show a hello world in the init_module and exit_module. I have not seen any literature on how to code regularly occuring events inside a kernel module. Can someone please provide inputs? Thanks
Have a look at this article for Linux: Kernel APIs, Part 3: Timers and lists in the 2.6 kernel
It has an example module that uses both the simple timer API, and highres timers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With