current->state = TASK_INTERRUPTIBLE | TASK_EXCLUSIVE when i used in my LKM it is giving me error that TASK_EXCLUSIVE is undeclared rather there is no state like that in sched.h(might be it will be there) so how can i used this flag? __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/