* + hrtimer-correct-a-few-numbers-in-comments.patch added to -mm tree
@ 2009-11-23 23:26 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-11-23 23:26 UTC (permalink / raw)
To: mm-commits; +Cc: u.kleine-koenig, a.p.zijlstra, luming.yu, mingo, tglx
The patch titled
hrtimer: correct a few numbers in comments
has been added to the -mm tree. Its filename is
hrtimer-correct-a-few-numbers-in-comments.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: hrtimer: correct a few numbers in comments
From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Luming Yu <luming.yu@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/hrtimer.c | 4 ++--
kernel/time/tick-oneshot.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff -puN kernel/hrtimer.c~hrtimer-correct-a-few-numbers-in-comments kernel/hrtimer.c
--- a/kernel/hrtimer.c~hrtimer-correct-a-few-numbers-in-comments
+++ a/kernel/hrtimer.c
@@ -1220,7 +1220,7 @@ static void __run_hrtimer(struct hrtimer
static int force_clock_reprogram;
/*
- * After 5 iteration's attempts, we consider that hrtimer_interrupt()
+ * After 4 iteration's attempts, we consider that hrtimer_interrupt()
* is hanging, which could happen with something that slows the interrupt
* such as the tracing. Then we force the clock reprogramming for each future
* hrtimer interrupts to avoid infinite loops and use the min_delta_ns
@@ -1258,7 +1258,7 @@ void hrtimer_interrupt(struct clock_even
dev->next_event.tv64 = KTIME_MAX;
retry:
- /* 5 retries is enough to notice a hang */
+ /* 4 retries is enough to notice a hang */
if (!(++nr_retries % 5))
hrtimer_interrupt_hanging(dev, ktime_sub(ktime_get(), now));
diff -puN kernel/time/tick-oneshot.c~hrtimer-correct-a-few-numbers-in-comments kernel/time/tick-oneshot.c
--- a/kernel/time/tick-oneshot.c~hrtimer-correct-a-few-numbers-in-comments
+++ a/kernel/time/tick-oneshot.c
@@ -39,7 +39,7 @@ int tick_dev_program_event(struct clock_
/*
* We tried 2 times to program the device with the given
- * min_delta_ns. If that's not working then we double it
+ * min_delta_ns. If that's not working then we increase it
* and emit a warning.
*/
if (++i > 2) {
_
Patches currently in -mm which might be from u.kleine-koenig@pengutronix.de are
linux-next.patch
hrtimer-correct-a-few-numbers-in-comments.patch
clockevents-assert-min_delta_ns-being-increased-in-error-path.patch
mxcmmc-fix-error-path-in-mxcmci_probe.patch
spi-drain-mxc-spi-transfer-buffer-when-probing-device.patch
rtc-add-freescale-mc13783-rtc-driver.patch
--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-23 23:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 23:26 + hrtimer-correct-a-few-numbers-in-comments.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox