lkml.org 
[lkml]   [2008]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/5] select: make select() use schedule_hrtimeout()
On Fri, 29 Aug 2008 19:33:09 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> > And yes, I do agree that the heuristic could well involve other
> > characteristics of the process in question. And probably
> > characteristics of the machine itself (ie some general kind of
> > "power mode" where timers are simply not considered critical if you
> > want to be in low-power mode).
>
> HAL and dbus already deal with this sort of stuff, including now
> having a notion of 'on battery' and the like so if its in sysfs it
> ceases to be the kernels problem ;)

(side note: "on battery" is the worst possible measure for doing 'do I
need to be power sensitive', but you knew that already)


--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org


\
 
 \ /
  Last update: 2008-08-30 17:27    [W:0.036 / U:2.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site