[CPUFREQ] ondemand/conservative: sanitize sampling_rate restrictions
commit112124ab0a9f507a0d7fdbb1e1ed2b9a24f8c4ea
authorThomas Renninger <trenn@suse.de>
Wed, 4 Feb 2009 10:55:12 +0000 (4 11:55 +0100)
committerDave Jones <davej@redhat.com>
Wed, 25 Feb 2009 03:47:31 +0000 (24 22:47 -0500)
tree15512b608d8f8f58817c1053d22a39d8f45e8b6d
parent9411b4ef7fcb534fe1582fe02738254e398dd931
[CPUFREQ] ondemand/conservative: sanitize sampling_rate restrictions

Limit sampling rate to transition_latency * 100 or kernel limits.
If sampling_rate is tried to be set too low, set the lowest allowed value.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dave Jones <davej@redhat.com>
Documentation/cpu-freq/governors.txt
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_ondemand.c