netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] e1000: Use deferrable timer for watchdog
@ 2007-12-19  1:46 Parag Warudkar
  2007-12-19 19:02 ` Kok, Auke
  0 siblings, 1 reply; 6+ messages in thread
From: Parag Warudkar @ 2007-12-19  1:46 UTC (permalink / raw)
  To: linux.nics, netdev; +Cc: linux-kernel, akpm


Use deferrable timer for watchdog. Reduces wakeups from idle per second.

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

--- linux-2.6/drivers/net/e1000/e1000_main.c	2007-12-07 10:04:39.000000000 -0500
+++ linux-2.6-work/drivers/net/e1000/e1000_main.c	2007-12-18 20:38:38.000000000 -0500
@@ -1030,7 +1030,7 @@
  	adapter->tx_fifo_stall_timer.function = &e1000_82547_tx_fifo_stall;
  	adapter->tx_fifo_stall_timer.data = (unsigned long) adapter;

-	init_timer(&adapter->watchdog_timer);
+	init_timer_deferrable(&adapter->watchdog_timer);
  	adapter->watchdog_timer.function = &e1000_watchdog;
  	adapter->watchdog_timer.data = (unsigned long) adapter;


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-19 23:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19  1:46 [PATCH] e1000: Use deferrable timer for watchdog Parag Warudkar
2007-12-19 19:02 ` Kok, Auke
2007-12-19 19:39   ` Parag Warudkar
2007-12-19 21:38     ` Kok, Auke
2007-12-19 22:35       ` Parag Warudkar
2007-12-19 23:00         ` Kok, Auke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).