cpufreq: ondemand: Set MIN_FREQUENCY_UP_THRESHOLD to 1
authorChen Yu <yu.c.chen@intel.com>
Mon, 4 Jan 2016 04:14:45 +0000 (12:14 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 1 Dec 2016 21:43:33 +0000 (22:43 +0100)
commit4dd63b49a7b06b6a49841f46d7510962de476c39
treea104377523938b87d2ac4f6c893d75b56ee7a16c
parent58bf454272d9761312792053c706b72a41f5e835
cpufreq: ondemand: Set MIN_FREQUENCY_UP_THRESHOLD to 1

Currently the minimal up_threshold is 11, and user may want to
use a smaller minimal up_threshold for performance tuning,
so MIN_FREQUENCY_UP_THRESHOLD could be set to 1 because:

1. Current systems wouldn't be affected as they have already
   a value >= 11.
2. New systems with a default kernel would keep still the default
   value that is >= 11.

Users now have the advantage that they can make their own decisions
and customize the 'trip point' to switch to the max frequency.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=65501
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_ondemand.c