[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

task pointer



I am storng task pointer in my kernel module and when interrupt comes in I am waking the process up by

wake_up_process(task_ptr);

Now, sometime it is possible that the process is already dead, e.g. user to ctrl-c on console. In this case, I get

Unable to handle kernel paging request at virtual address d29dbdb4

Is there a way, where I can very efficiently check for existence of process ?

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/



-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/