Messages in this thread | | | Date | Wed, 11 Nov 2009 13:46:17 +0100 | From | Jens Axboe <> | Subject | Re: [PATCH] block core: use round_jiffies on timer to reduce wakeups |
| |
On Tue, Nov 10 2009, Randy Dunlap wrote: > From: Randy Dunlap <randy.dunlap@oracle.com> > > Use round_jiffies() variant to schedule the timer along with > other timer wakeups on the same CPU. > > Source file also needs to include jiffies.h since it uses > functions or macros from it.
round_jiffies() rounds to the next second, that's way too far away for an event that should trigger within msecs.
-- Jens Axboe
| |