public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Rolf Fokkens <FokkensR@vertis.nl>
Cc: "'alan@lxorguk.ukuu.org.uk'" <alan@lxorguk.ukuu.org.uk>,
	"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: PATCH: /proc/sys/kernel/hz
Date: 16 Jul 2001 09:50:35 -0700	[thread overview]
Message-ID: <m38zhorf6s.fsf@otr.mynet> (raw)
In-Reply-To: <938F7F15145BD311AECE00508B7152DB034C48DA@vts007.vertis.nl>
In-Reply-To: Rolf Fokkens's message of "Mon, 16 Jul 2001 18:11:14 +0200"

Rolf Fokkens <FokkensR@vertis.nl> writes:

> Some software (like procps) needs the HZ constant in the kernel. It's
> sometimes determined by counting jiffies during a second. The attached patch
> just "publishes" the HZ constant in /proc/sys/kernel/hz.

And what is wrong with

  getconf CLK_TCK

or programmatically

  hz = sysconf (_SC_CLK_TCK);


Update your libc and this info will come from the kernel.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

  reply	other threads:[~2001-07-16 16:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-16 16:11 PATCH: /proc/sys/kernel/hz Rolf Fokkens
2001-07-16 16:50 ` Ulrich Drepper [this message]
2001-07-16 17:13   ` Kurt Garloff
2001-07-16 17:45     ` Ulrich Drepper
  -- strict thread matches above, loose matches on Subject: below --
2001-07-16 18:00 Rolf Fokkens
2001-07-16 18:34 ` Andreas Jaeger
2001-07-16 19:24 Rolf Fokkens

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=m38zhorf6s.fsf@otr.mynet \
    --to=drepper@redhat.com \
    --cc=FokkensR@vertis.nl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=drepper@cygnus.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