Messages in this thread | | | Date | Sat, 30 Aug 2008 08:25:13 -0700 | From | Arjan van de Ven <> | Subject | Re: [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
| |