lkml.org 
[lkml]   [2004]   [Jul]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 12 Jul 2004 01:42:31 -0700
FromWilliam Lee Irwin III <>
SubjectRe: [PATCH] Instrumenting high latency
On Mon, 2004-07-12 at 09:34, Andrew Morton wrote:
>> so if need_resched() stays false then this will hold the lock for a long
>> time and bogus reports are generated:

On Mon, Jul 12, 2004 at 10:29:40AM +0200, Arjan van de Ven wrote:
> ... or reset the time(r) in need_resched() under the assumption that all
> need_resched() callers will yield when it returns true...

Might be a good enough approximation. Two examples and a counterexample...


-- wli
-
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-03-22 14:04    [from the cache]
©2003-2008