Re: [PATCH 4/5] select: make select() use schedule_hrtimeout()

From: Arjan van de Ven
Date: Sat Aug 30 2008 - 11:25:55 EST


On Fri, 29 Aug 2008 19:33:09 +0100
Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/