On 04/18/2014 10:09 AM, Ingo Molnar wrote:

* Daniel Lezcano <daniel.lezc...@linaro.org> wrote:

On 04/17/2014 04:47 PM, Peter Zijlstra wrote:
On Thu, Apr 17, 2014 at 03:53:32PM +0200, Daniel Lezcano wrote:
Concerning the policy, I would suggest to create an entry in
/proc/sys/kernel/sched_power, where a couple of values could be performance
- power saving (0 / 1).

Ingo wanted a sched_balance_policy file with 3 values:
   "performance, power, auto"

Where the auto thing switches between them, initially based off of
having AC or not.

oh, good. Thanks !

Also, 'auto' should be the default, because the kernel doing TRT is
really what users want.

Userspace can sill tweak it all and make it all user-space controlled,
by flipping between 'performance' and 'power'. (and those modes are
also helpful for development and debugging.)

Copy that.

  Thanks !

  -- Daniel


--
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to