On 9/28/05, Knowledge Seeker <talibalm@xxxxxxxxxxx> wrote: > Code in my module in running on the behave of a process and I have called > scedule_timeout, code freg > > sleep_time = 5000; > > set_current_state(TASK_INTERRUPTIBLE); > schedule_timeout(sleep_time); > > I can do ps and it show > > 4016 pts/0 S+ 0:00 ./cda_select_null > > But, when I do kill > > kill -9 4016 > > Process doe not get killed. > > What do I need to do to kill the process ? If you really want interrupts to end the kernel-side of the process, then add if (signal_pending(current)) return -EINTR; after schedule_timeout() returns. To really help, by the way, we need to see all the code involved. Thanks, Nish P.S. Please consider using your real name in e-mails. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/