All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Martin Dalecki <dalecki@evision-ventures.com>
Cc: Andrew Morton <akpm@zip.com.au>,
	Linus Torvalds <torvalds@transmeta.com>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: [patch 1/19] writeback tunables
Date: Mon, 17 Jun 2002 11:49:57 +0100	[thread overview]
Message-ID: <20020617114957.A4130@flint.arm.linux.org.uk> (raw)
In-Reply-To: <3D0DBAEE.2030409@evision-ventures.com>; from dalecki@evision-ventures.com on Mon, Jun 17, 2002 at 12:33:18PM +0200

On Mon, Jun 17, 2002 at 12:33:18PM +0200, Martin Dalecki wrote:
> 
> > + * The interval between `kupdate'-style writebacks.
> > + */
> > +int dirty_writeback_centisecs = 5 * 100;
> > +
> > +/*
> > + * The largest amount of time for which data is allowed to remain dirty
> > + */
> > +int dirty_expire_centisecs = 30 * 100;
> > +
> 
> Blind guess - didn't the 100 wan't to be HZ?!

The units are centiseconds (as the name suggests). 5 * 100 centiseconds = 5
seconds, so the dirty writeback timeout is 5 seconds.  Check the code a
little further and you'll see HZ gets factored into them on use.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


  reply	other threads:[~2002-06-17 10:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17  6:51 [patch 1/19] writeback tunables Andrew Morton
2002-06-17 10:33 ` Martin Dalecki
2002-06-17 10:49   ` Russell King [this message]
2002-06-17 21:21     ` Andrew Morton
2002-06-18 14:30       ` Oliver Xymoron

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=20020617114957.A4130@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=akpm@zip.com.au \
    --cc=dalecki@evision-ventures.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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.