All of lore.kernel.org
 help / color / mirror / Atom feed
* + clocksourcec-use-init_timer_deferrable-for-clocksource_watchdog.patch added to -mm tree
@ 2007-12-20  0:21 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-12-20  0:21 UTC (permalink / raw)
  To: mm-commits; +Cc: parag.warudkar, johnstul, mingo, tglx


The patch titled
     clocksource.c: use init_timer_deferrable for clocksource_watchdog
has been added to the -mm tree.  Its filename is
     clocksourcec-use-init_timer_deferrable-for-clocksource_watchdog.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: clocksource.c: use init_timer_deferrable for clocksource_watchdog
From: Parag Warudkar <parag.warudkar@gmail.com>

clocksource_watchdog can use a deferrable timer - reduces wakeups from
idle per second.

Signed-off-by: Parag Warudkar <parag.warudkar@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/time/clocksource.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/time/clocksource.c~clocksourcec-use-init_timer_deferrable-for-clocksource_watchdog kernel/time/clocksource.c
--- a/kernel/time/clocksource.c~clocksourcec-use-init_timer_deferrable-for-clocksource_watchdog
+++ a/kernel/time/clocksource.c
@@ -175,7 +175,7 @@ static void clocksource_check_watchdog(s
 			if (watchdog)
 				del_timer(&watchdog_timer);
 			watchdog = cs;
-			init_timer(&watchdog_timer);
+			init_timer_deferrable(&watchdog_timer);
 			watchdog_timer.function = clocksource_watchdog;
 
 			/* Reset watchdog cycles */
_

Patches currently in -mm which might be from parag.warudkar@gmail.com are

clocksourcec-use-init_timer_deferrable-for-clocksource_watchdog.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-20  0:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-20  0:21 + clocksourcec-use-init_timer_deferrable-for-clocksource_watchdog.patch added to -mm tree akpm

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.