Re: [PATCH 12/13] hrtimer: create a "timer_slack" field in the taskstruct

From: Arjan van de Ven
Date: Sun Sep 14 2008 - 12:14:46 EST


On Sun, 14 Sep 2008 09:04:08 -0700
"Ulrich Drepper" <drepper@xxxxxxxxx> wrote:

>
> You cannot really use the environment for anything meaningful.
> Especially for this case, you couldn't change the setting for a
> running process. What a fully-userlevel implementation would have to
> do is read the value from a file and monitor the file for changes for
> every new poll/select call. That's a huge cost.

in addition, the value really is per thread, not per process, and how
do you want to do that with env. variables?

--
Arjan van de Ven Intel Open Source Technology Centre
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/