lkml.org 
[lkml]   [2006]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] maximum latency tracking infrastructure (version 3)
From
Date

> Another question is how one would do callback processing in idle handler:
> one could figure out the idle mode (latency) in advance and *then* call
> only all those idle callbacks that have more stringent requirements
> than the currently calculated idle mode's latency (and then calculate
> the idle mode again based on the current time after all those callbacks??),
> or one could just unconditionally call all idle handlers and then figure out
> idle length and go to sleep. Which one is better?


I'm not sure about either actually. Well if it's just to refill stuff
etc then I would just call all. After all it may save interrupts and
early wakeups if you do this, so there's a power advantage to be gained.

-
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: 2006-08-28 18:51    [W:0.046 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site