Hi all, I want to run a low priority kernel thread, so i did something like: my_thread(){ . . . daemonize(); current->nice = 20; for(;;){ current->state = TASK_INTERRUPTIBLE; schedule(); . . <==== control never comes here . } } The problem is that schedule does not return. So the code after schedule() never gets executed. The control returns if schedule_timeout() is used. What could be the problem? Thanks in advance. Swapnil. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/