![]() | |||||||||||||
Messages in this thread |
* Steven Rostedt <rostedt@goodmis.org> wrote: > In my custom kernel, I have a wchan field of the task that records > where the task calls something that might schedule. This way I can see > where things locked up if I don't have a back trace of the task. This > field is always zero when it switches to usermode. Something like > this can also be used to check how long the process is in kernel mode. > If a task is in the kernel for more than 10 seconds without sleeping, > that would definitely be a good indication of something wrong. I > probably could write something to check for this if people are > interested. I wont waste my time if nobody would want it. this would be a pretty useful extension of the softlockup checker! Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-08-02 12:22 [from the cache] ©2003-2008 | |||||||||||||