Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01

Ingo Molnar
2005-08-02T10:18:44Z

* 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