Writing kernel module to renice processes
Hello,
I want to write a kernel module to renice process nice values of a few selected processes depending on a value from a sensor.Can this be done through a module? if so Where can I find the source of renice? Thank you |
Quote:
|
Managed to write a module to change the nice value by the process name. (Iterating through the task list,finding the process and changing the nice value). How ever this only happens once, is there a way to make the module execute at periodical intervals? Is there any timer that can be used inside the module..
It dose not show in /proc will have to poll that too(am keeping it for the next step, reading and getting data at fixed intervals. Using the above timer) |
All times are GMT -5. The time now is 04:57 PM. |