Hello Arun... > The user space prog. is given SCHED_FIFO priority, which means it > dosent have timesliced-scheduling and runs till it volutarily yields > the CPU . Since it has an infinite loop shouldnt it be scheduled > forever. So how will the kernel module get to exit ?(i.e., when will > the time_before() check gets executed) ? Inside the loop, there is a call to sleep() for 1 second on each iteration :) That means, it voluntarily yields the CPU :) regards Mulyadi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/