what does the get_wchan() in process.c (generally) do? I tried to find the answer in google, but that doesn't word.
From man ps wchan WCHAN name of the kernel function in which the process is sleeping, a "-" if the process is running, or a "*" if the process is multi-threaded and ps is not displaying threads. I think get_wchan is called to get the function address. -- Pradeep Padala http://ppadala.blogspot.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/