* [PATCH] [TRIVIAL] Fix documentation and comment typo 'no_hz'
@ 2011-08-06 12:33 Paul Bolle
2011-08-06 15:37 ` Len Brown
0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2011-08-06 12:33 UTC (permalink / raw)
To: Jiri Kosina, Dave Jones; +Cc: linux-kernel, cpufreq
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
0) Untested (which I suppose is acceptable with trivialities like this
as long as one is honest about it).
1) Also sent to Dave Jones and cpufreq@vger.kernel.org because it's hard
to say (for me) what was meant by "no_hz" in that comment. But there
were only two hits for "no_hz" in the kernel tree and lots of hits for
"nohz" so I guessed "nohz" is the term to be used there too.
Documentation/cpu-freq/governors.txt | 2 +-
drivers/cpufreq/cpufreq_ondemand.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt
index e74d0a2..d221781 100644
--- a/Documentation/cpu-freq/governors.txt
+++ b/Documentation/cpu-freq/governors.txt
@@ -132,7 +132,7 @@ The sampling rate is limited by the HW transition latency:
transition_latency * 100
Or by kernel restrictions:
If CONFIG_NO_HZ is set, the limit is 10ms fixed.
-If CONFIG_NO_HZ is not set or no_hz=off boot parameter is used, the
+If CONFIG_NO_HZ is not set or nohz=off boot parameter is used, the
limits depend on the CONFIG_HZ option:
HZ=1000: min=20000us (20ms)
HZ=250: min=80000us (80ms)
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c
index 891360e..629b3ec 100644
--- a/drivers/cpufreq/cpufreq_ondemand.c
+++ b/drivers/cpufreq/cpufreq_ondemand.c
@@ -725,7 +725,7 @@ static int __init cpufreq_gov_dbs_init(void)
dbs_tuners_ins.down_differential =
MICRO_FREQUENCY_DOWN_DIFFERENTIAL;
/*
- * In no_hz/micro accounting case we set the minimum frequency
+ * In nohz/micro accounting case we set the minimum frequency
* not depending on HZ, but fixed (very low). The deferred
* timer might skip some samples if idle/sleeping as needed.
*/
--
1.7.4.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] [TRIVIAL] Fix documentation and comment typo 'no_hz'
2011-08-06 12:33 [PATCH] [TRIVIAL] Fix documentation and comment typo 'no_hz' Paul Bolle
@ 2011-08-06 15:37 ` Len Brown
2011-08-08 16:56 ` Jiri Kosina
0 siblings, 1 reply; 4+ messages in thread
From: Len Brown @ 2011-08-06 15:37 UTC (permalink / raw)
To: Paul Bolle; +Cc: Jiri Kosina, Dave Jones, linux-kernel, cpufreq
Acked-by: Len Brown <len.brown@intel.com>
thanks,
Len Brown, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] [TRIVIAL] Fix documentation and comment typo 'no_hz'
2011-08-06 15:37 ` Len Brown
@ 2011-08-08 16:56 ` Jiri Kosina
2011-08-08 17:04 ` Dave Jones
0 siblings, 1 reply; 4+ messages in thread
From: Jiri Kosina @ 2011-08-08 16:56 UTC (permalink / raw)
To: Len Brown; +Cc: Paul Bolle, Dave Jones, linux-kernel, cpufreq
On Sat, 6 Aug 2011, Len Brown wrote:
> Acked-by: Len Brown <len.brown@intel.com>
Doesn't seem to have been picked up for -next. Applied now, thanks.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] [TRIVIAL] Fix documentation and comment typo 'no_hz'
2011-08-08 16:56 ` Jiri Kosina
@ 2011-08-08 17:04 ` Dave Jones
0 siblings, 0 replies; 4+ messages in thread
From: Dave Jones @ 2011-08-08 17:04 UTC (permalink / raw)
To: Jiri Kosina; +Cc: Len Brown, Paul Bolle, linux-kernel, cpufreq
On Mon, Aug 08, 2011 at 06:56:26PM +0200, Jiri Kosina wrote:
> On Sat, 6 Aug 2011, Len Brown wrote:
>
> > Acked-by: Len Brown <len.brown@intel.com>
>
> Doesn't seem to have been picked up for -next. Applied now, thanks.
I've been waiting for -rc1 before pushing out a -next tree for cpufreq
(as Stephen recommends)
I'll do it this afternoon.
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-08 17:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-06 12:33 [PATCH] [TRIVIAL] Fix documentation and comment typo 'no_hz' Paul Bolle
2011-08-06 15:37 ` Len Brown
2011-08-08 16:56 ` Jiri Kosina
2011-08-08 17:04 ` Dave Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.