]> git.baikalelectronics.ru Git - kernel.git/commit
user of the jiffies rounding code: e1000
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 6 Mar 2007 10:41:48 +0000 (02:41 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 15:00:57 +0000 (11:00 -0400)
commit77dc451f5dc3abd07d6742f32f0e9094e5fd0ac3
tree431010e7b3641b2589b7a7501b21ee15bbfdaf37
parent4a22de1951c6dfe0f111ec05d292697fb19f8002
user of the jiffies rounding code: e1000

Use the round_jiffies() function in e1000.

These timers all were of the "about once a second" or "about once every X
seconds" variety and several showed up in the "what wakes the cpu up" profiles
that the tickless patches provide.  Some timers are highly dynamic based on
network load; but even on low activity systems they still show up so the
rounding is done only in cases of low activity, allowing higher frequency
timers in the high activity case.

The various hardware watchdogs are an obvious case; they run every 2 seconds
but aren't otherwise specific of exactly when they need to run.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Auke Kok <auke-jan.h.kok@intel.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e1000/e1000_main.c