[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0712182046560.3616@mini.warudkars.net>
Date: Tue, 18 Dec 2007 20:49:47 -0500 (EST)
From: Parag Warudkar <parag.warudkar@...il.com>
To: netdev@...r.kernel.org, linux.nics@...el.com
cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: [PATCH] e1000e: Use deferrable timer for watchdog
Reduce wakeups from idle per second.
Signed-off-by: Parag Warudkar <parag.warudkar@...il.com>
--- linux-2.6/drivers/net/e1000e/netdev.c 2007-12-07 10:04:39.000000000 -0500
+++ linux-2.6-work/drivers/net/e1000e/netdev.c 2007-12-18 20:45:59.000000000 -0500
@@ -3899,7 +3899,7 @@
goto err_eeprom;
}
- init_timer(&adapter->watchdog_timer);
+ init_timer_deferrable(&adapter->watchdog_timer);
adapter->watchdog_timer.function = &e1000_watchdog;
adapter->watchdog_timer.data = (unsigned long) adapter;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists