From: Darren Hart <dvhltc@us.ibm.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Re: nanosleep resolution, jiffies vs microseconds
Date: Wed, 08 Dec 2004 10:30:54 -0800 [thread overview]
Message-ID: <1102530654.4060.13.camel@farah.beaverton.ibm.com> (raw)
In-Reply-To: <20041208171420.GD1270@us.ibm.com>
On Wed, 2004-12-08 at 09:14 -0800, Paul E. McKenney wrote:
> Hello, Darren,
>
> Thank you very much for getting to the bottom of this!
>
> This is mostly an issue when sleeping for small numbers of ticks,
> so if HZ was 10000, a nanosleep(1000000) would get bumped by
> a couple hundred microseconds rather than the current milliseconds,
> right?
yes.
>
> Further, if one were to do nanosleep(900000) given HZ of 1024,
> the expected sleep time would be 2 milliseconds, right?
and yes.
--
Darren Hart <dvhltc@us.ibm.com>
IBM Linux Technology Center
next prev parent reply other threads:[~2004-12-08 18:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-08 16:47 Darren Hart
2004-12-08 17:05 ` Mike Kravetz
2004-12-08 17:49 ` Paul E. McKenney
2004-12-08 17:14 ` Paul E. McKenney
2004-12-08 18:30 ` Darren Hart [this message]
2004-12-09 10:21 ` Jan Engelhardt
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=1102530654.4060.13.camel@farah.beaverton.ibm.com \
--to=dvhltc@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®