public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: Neil Conway <nconway.list@ukaea.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.4: variable HZ
Date: 18 Oct 2002 14:44:16 -0400	[thread overview]
Message-ID: <1034966657.722.838.camel@phantasy> (raw)
In-Reply-To: <3DAFF5C9.807BE885@ukaea.org.uk>

On Fri, 2002-10-18 at 07:51, Neil Conway wrote:

> I was looking at your jiffies_to_clock_t() macro, and I notice that it
> will screw up badly if the user chooses a HZ value that isn't a multiple
> of the normal value (e.g. 1000 is OK, 512 isn't).

OK, sure, but why specify a power-of-two HZ?  There is absolutely no
reason to, at least on x86.

Want 512?  500 will do just as well and has the benefit of (a) being a
multiple of the previous HZ and (b) evenly dividing into our concept of
time.

	Robert Love


  reply	other threads:[~2002-10-18 18:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-18 11:51 [PATCH] 2.4: variable HZ Neil Conway
2002-10-18 18:44 ` Robert Love [this message]
2002-10-18 19:38   ` Richard B. Johnson
2002-10-19  7:04     ` jdow
2002-10-21 13:13       ` Richard B. Johnson
2002-10-19  9:36     ` Willy Tarreau
2002-10-21  8:15   ` Neil Conway
  -- strict thread matches above, loose matches on Subject: below --
2002-10-15  6:03 Robert Love
2002-10-15  6:50 ` Robert Love
2002-10-18 18:27 ` Tim Schmielau

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=1034966657.722.838.camel@phantasy \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nconway.list@ukaea.org.uk \
    /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