You are not logged in.
What is best way to wake up a kernel module very X seconds to perform some tasks?
Would it better to use timer, sleep functions, or schedule_timeout()? What is usually the easiest to implement?
Last edited by kdar (2012-03-16 21:08:31)
Offline
What, exactly, do you mean by "module".
A sleep function would be the easiest way to go, although it doesn't promises that it will return exactly after x seconds, but when the process is selected for execution.
Offline
Sorry, I meant kernel module
Last edited by kdar (2012-03-16 21:08:41)
Offline
What puts the module to sleep in the first place?
An overview of what you're actually trying to do might be helpful.
Offline