From: Josh Boyer <jdub@us.ibm.com>
To: krishna <krishna.c@globaledgesoft.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: why is the jiffies 128 in jffs2_find_gc_block() in gc.c of jffs2.
Date: Thu, 21 Jul 2005 13:03:03 -0500 [thread overview]
Message-ID: <1121968983.20907.5.camel@weaponx.rchland.ibm.com> (raw)
In-Reply-To: <42DFD7D3.2060101@globaledgesoft.com>
On Thu, 2005-07-21 at 22:43 +0530, krishna wrote:
> Hi,
>
> Can any one tell me
> why is the jiffies _128_ in jffs2_find_gc_block() in gc.c of jffs2.
jiffies isn't set in that function. The value of jiffies is modded by
128. Since jiffies is a volatile value, the value of n is usually
different on each call of that function. This value is used to pick an
eraseblock to garbage collect out of a series of different lists. This
is done to help with effective wear leveling of flash eraseblocks.
josh
prev parent reply other threads:[~2005-07-21 18:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-21 17:13 krishna
2005-07-21 18:03 ` Josh Boyer [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=1121968983.20907.5.camel@weaponx.rchland.ibm.com \
--to=jdub@us.ibm.com \
--cc=krishna.c@globaledgesoft.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®