diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2010-05-09 15:26:51 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-05-09 17:35:27 (GMT) |
commit | 19379b11819efc1fc3b602e64f7e7531050aaddb (patch) | |
tree | de312e679919620d9d245280d86aaf9a0a561d95 /usr | |
parent | 6b8fcd9029f217a9ecce822db645e19111c11080 (diff) | |
download | linux-fsl-qoriq-19379b11819efc1fc3b602e64f7e7531050aaddb.tar.xz |
ondemand: Make the iowait-is-busy time a sysfs tunable
Pavel Machek pointed out that not all CPUs have an efficient
idle at high frequency. Specifically, older Intel and various
AMD cpus would get a higher powerusage when copying files from
USB.
Mike Chan pointed out that the same is true for various ARM
chips as well.
Thomas Renninger suggested to make this a sysfs tunable with a
reasonable default.
This patch adds a sysfs tunable for the new behavior, and uses
a very simple function to determine a reasonable default,
depending on the CPU vendor/type.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: davej@redhat.com
LKML-Reference: <20100509082651.46914d04@infradead.org>
[ minor tidyup ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions