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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: KOSAKI Motohiro <kosaki.motohiro@...>
Cc: <kosaki.motohiro@...>, <linux-kernel@...>, <torvalds@...>, <dwmw2@...>, <drepper@...>, <mingo@...>, <tglx@...>
Date: Tuesday, September 30, 2008 - 4:28 am

On Tue, 30 Sep 2008 14:16:09 +0900 (JST)
KOSAKI Motohiro wrote:

> I wonder to why PR_SET_TIMERSLACK decreasing doesn't need root

setting timerslack to 0 has no real negative effects on the system on
the one hand, on the other hand, it'll be multimedia apps and games who
want to do this.

Requiring this type of app to be root doesn't sound like a good idea,
especially since all you get by "cheating" is ... the exact behavior
you ask for anyway. "Increased power consumption" isn't a root
privilege, the app can consume much more power just by a "while (1);"
loop for example.

--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/13] Turn hrtimers into a range capable timer, Arjan van de Ven, (Mon Sep 1, 7:03 pm)
Re: [PATCH 0/13] Turn hrtimers into a range capable timer, Rusty Russell, (Thu Sep 11, 11:39 pm)
Re: [PATCH 0/13] Turn hrtimers into a range capable timer, Thomas Gleixner, (Fri Sep 12, 4:24 pm)
Re: [PATCH 0/13] Turn hrtimers into a range capable timer, Arjan van de Ven, (Fri Sep 12, 1:42 am)
Re: [PATCH 0/13] Turn hrtimers into a range capable timer, Arjan van de Ven, (Sat Sep 6, 12:30 pm)
[PATCH 9/13] hrtimer: convert sound/ to the new hrtimer apis, Arjan van de Ven, (Mon Sep 1, 7:11 pm)
[PATCH 8/13] hrtimer: convert s390 to the new hrtimer apis, Arjan van de Ven, (Mon Sep 1, 7:10 pm)
Re: [PATCH 12/13] hrtimer: create a "timer_slack" field in t..., Arjan van de Ven, (Tue Sep 30, 4:28 am)
Re: [PATCH 12/13] hrtimer: create a "timer_slack" field in t..., Arjan van de Ven, (Sun Sep 14, 12:14 pm)
Re: [PATCH 12/13] hrtimer: create a "timer_slack" field in t..., Arjan van de Ven, (Sun Sep 14, 11:27 am)
[PATCH 2/13] hrtimer: convert kvm to the new hrtimer apis, Arjan van de Ven, (Mon Sep 1, 7:05 pm)
[PATCH 11/13] hrtimer: turn hrtimers into range timers, Arjan van de Ven, (Mon Sep 1, 7:13 pm)
Re: [PATCH 11/13] hrtimer: turn hrtimers into range timers, Arjan van de Ven, (Tue Sep 2, 9:05 am)
Re: [PATCH 11/13] hrtimer: turn hrtimers into range timers, Arjan van de Ven, (Tue Sep 2, 12:02 pm)
Re: [PATCH 11/13] hrtimer: turn hrtimers into range timers, Arjan van de Ven, (Tue Sep 2, 9:06 am)