From: Jens Axboe <jens.axboe@oracle.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] block core: use round_jiffies on timer to reduce wakeups
Date: Wed, 11 Nov 2009 13:46:17 +0100 [thread overview]
Message-ID: <20091111124617.GN8742@kernel.dk> (raw)
In-Reply-To: <4AFA03BB.90405@oracle.com>
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
prev parent reply other threads:[~2009-11-11 12:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-11 0:22 [PATCH] block core: use round_jiffies on timer to reduce wakeups Randy Dunlap
2009-11-11 12:46 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091111124617.GN8742@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.