i need to do some polling in Linux kernel for continues some time so i need to design while loop that exits after some milliseconds interval. So how can i do that?
I have though to use gettimeofday()
but that can be used at user space i want this in kernel space.