From: Andrew Morton <akpm@digeo.com>
To: maneesh@in.ibm.com
Cc: dipankar@in.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: [patch] dentry_stat fix
Date: Mon, 14 Apr 2003 12:26:59 -0700 [thread overview]
Message-ID: <20030414122659.308b3260.akpm@digeo.com> (raw)
In-Reply-To: <20030414180910.B27092@in.ibm.com>
Maneesh Soni <maneesh@in.ibm.com> wrote:
>
> On Mon, Apr 14, 2003 at 02:14:48AM -0700, Andrew Morton wrote:
> > Maneesh Soni <maneesh@in.ibm.com> wrote:
> > >
> > > This patch the corrects the dentry_stat.nr_unused calculation.
> >
> > OK, I didn't even know we had a bug in there...
> >
> > btw, can you explain to me why shrink_dcache_anon() and select_parent() are
> > putting dentries at the wrong end of dentry_unused?
> prune_dcache() picks up from this end in first round. It will reset the
> DCACHE_REFERENCED flag and will put it to the front of dentry_unused list.
>
Sorry, but I still don't understand why they're being put at the "oldest" end
of dentry_unused.
Also, shrink_dcache_anon() does:
prune_dcache(found);
I hope we're not assuming that all the dentries which were just added will be
freed? They hae the referenced bit set, and new dentries can be added...
prev parent reply other threads:[~2003-04-14 19:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-14 9:14 [patch] dentry_stat fix Maneesh Soni
2003-04-14 9:14 ` Andrew Morton
2003-04-14 12:39 ` Maneesh Soni
2003-04-14 19:26 ` Andrew Morton [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=20030414122659.308b3260.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=dipankar@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maneesh@in.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox