I am working on kernel code which uses the timers available in the kernel code - i.e. add_timer. However, the best resolution that can offer is 10ms.
I know that I can recompile the kernel and change the HZ variable - that will reduce the interval between the clock ticks and give me better resolution, however that will also cause higher overhead.
Does someone know of a better way to get higher resolution in the kernel?