Commit 9c2298aa authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by Ingo Molnar

sched/core: Fix comment regarding nr_iowait_cpu() and get_iowait_load()

The comment related to nr_iowait_cpu() and get_iowait_load() confuses
cpufreq with cpuidle and is not very useful for this reason, so fix it.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux PM <linux-pm@vger.kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: e33a9bba "sched/core: move IO scheduling accounting from io_schedule_timeout() into scheduler"
Link: http://lkml.kernel.org/r/3803514.xkx7zY50tF@aspire.rjw.lanSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 4a465e3e
...@@ -2916,10 +2916,10 @@ unsigned long nr_iowait(void) ...@@ -2916,10 +2916,10 @@ unsigned long nr_iowait(void)
} }
/* /*
* Consumers of these two interfaces, like for example the cpufreq menu * Consumers of these two interfaces, like for example the cpuidle menu
* governor are using nonsensical data. Boosting frequency for a CPU that has * governor, are using nonsensical data. Preferring shallow idle state selection
* IO-wait which might not even end up running the task when it does become * for a CPU that has IO-wait which might not even end up running the task when
* runnable. * it does become runnable.
*/ */
unsigned long nr_iowait_cpu(int cpu) unsigned long nr_iowait_cpu(int cpu)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment