All of lore.kernel.org
 help / color / mirror / Atom feed
From: akpm@linux-foundation.org
To: mm-commits@vger.kernel.org
Cc: parag.warudkar@gmail.com, johnstul@us.ibm.com, mingo@elte.hu,
	tglx@linutronix.de
Subject: + clocksourcec-use-init_timer_deferrable-for-clocksource_watchdog.patch added to -mm tree
Date: Wed, 19 Dec 2007 16:21:41 -0800	[thread overview]
Message-ID: <200712200021.lBK0LfSW026762@imap1.linux-foundation.org> (raw)


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

                 reply	other threads:[~2007-12-20  0:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200712200021.lBK0LfSW026762@imap1.linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mm-commits@vger.kernel.org \
    --cc=parag.warudkar@gmail.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.