aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorArjan van de Ven <[email protected]>2010-05-09 08:26:51 -0700
committerIngo Molnar <[email protected]>2010-05-09 19:35:27 +0200
commit19379b11819efc1fc3b602e64f7e7531050aaddb (patch)
treede312e679919620d9d245280d86aaf9a0a561d95 /net/lapb/lapb_in.c
parent6b8fcd9029f217a9ecce822db645e19111c11080 (diff)
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 <[email protected]> Acked-by: Rik van Riel <[email protected]> Acked-by: Pavel Machek <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: [email protected] LKML-Reference: <[email protected]> [ minor tidyup ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions