if(strcmp(temp->comm,"tester")==0) { temp->state = TASK_STOPPED; > printk("<1> setting state = TASK_STOPPED for tester !\n"); } Are you sure, statement temp->state = TASK_STOPPED is executed. Put one printk there and check. i had done that already, but didnt include that part of the code in the mail i had sent to the list. task->state = STOPPED; has executed for sure ! cheers, Amith -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/