Skip to content

Commit 9c2298a

Browse files
rafaeljwingomolnar
authored andcommitted
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: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Peter 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: e33a9bb "sched/core: move IO scheduling accounting from io_schedule_timeout() into scheduler" Link: http://lkml.kernel.org/r/3803514.xkx7zY50tF@aspire.rjw.lan Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 4a465e3 commit 9c2298a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎kernel/sched/core.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2916,10 +2916,10 @@ unsigned long nr_iowait(void)
29162916
}
29172917

29182918
/*
2919-
* Consumers of these two interfaces, like for example the cpufreq menu
2920-
* governor are using nonsensical data. Boosting frequency for a CPU that has
2921-
* IO-wait which might not even end up running the task when it does become
2922-
* runnable.
2919+
* Consumers of these two interfaces, like for example the cpuidle menu
2920+
* governor, are using nonsensical data. Preferring shallow idle state selection
2921+
* for a CPU that has IO-wait which might not even end up running the task when
2922+
* it does become runnable.
29232923
*/
29242924

29252925
unsigned long nr_iowait_cpu(int cpu)

0 commit comments

Comments
 (0)