how to change kernel variables in run time
I am right now seeing the impact of two kernel variables on the system performance. So I need to change these two variables many times, and wanted to make it at run time to save some time. The two variables are #define variables in network interface card driver module. And they are not in /proc or /sys/kernel/debug.
I heard that hid debug could provide some functions to write the variables into debug files (/sys/kernel/debug/...), and then I can change them at run time. But there is little information/example online for how this can work.
Could you please share some light on this howto?