lkml.org 
[lkml]   [2005]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01

* 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    [W:0.101 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site