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
| ||
|
Date: Tue, 18 Dec 2007 20:04:23 -0500 (EST) From: Parag Warudkar <parag.warudkar@...il.com> To: netdev@...r.kernel.org cc: davem@...emloft.net, linux-kernel@...r.kernel.org, akpm@...ux-foundation.org Subject: [PATCH] sch_generic.c: Make dev_watchdog use deferrable timer Reduces the number of wakeups from idle per second, makes powertop happy. Signed-off-by: Parag Warudkar <parag.warudkar@...il.com> --- linux-2.6/net/sched/sch_generic.c 2007-12-07 10:04:43.000000000 -0500 +++ linux-2.6-work/net/sched/sch_generic.c 2007-12-16 17:57:05.000000000 -0500 @@ -213,7 +213,7 @@ static void dev_watchdog_init(struct net_device *dev) { - init_timer(&dev->watchdog_timer); + init_timer_deferrable(&dev->watchdog_timer); dev->watchdog_timer.data = (unsigned long)dev; dev->watchdog_timer.function = dev_watchdog; } -- 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