lkml.org 
[lkml]   [2009]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2009-11-11 13:49    [W:0.022 / U:1.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site