lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0712181947250.3616@mini.warudkars.net>
Date:	Tue, 18 Dec 2007 19:56:11 -0500 (EST)
From:	Parag Warudkar <parag.warudkar@...il.com>
To:	linux-kernel@...r.kernel.org
cc:	akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
	johnstul@...ibm.com
Subject: [PATCH] clocksource.c: Use init_timer_deferrable for clocksource_watchdog


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

Signed-off-by: Parag Warudkar <parag.warudkar@...il.com>

--- linux-2.6/kernel/time/clocksource.c	2007-12-07 10:04:43.000000000 -0500
+++ linux-2.6-work/kernel/time/clocksource.c	2007-12-13 12:49:14.000000000 -0500
@@ -175,7 +175,7 @@
  			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 */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ