From: David Chinner <dgc@sgi.com>
To: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] Per-superblock unused dentry LRU lists.
Date: Wed, 24 May 2006 11:48:41 +1000 [thread overview]
Message-ID: <20060524014841.GA7418631@melbourne.sgi.com> (raw)
In-Reply-To: <20060523184407.dc8b4a2b.rdunlap@xenotime.net>
On Tue, May 23, 2006 at 06:44:07PM -0700, Randy.Dunlap wrote:
> On Wed, 24 May 2006 11:24:12 +1000 David Chinner wrote:
> > +static void
> > +dentry_lru_del_init(struct dentry *dentry)
> > +{
> > + if (likely(!list_empty(&dentry->d_lru))) {
> > + list_del_init(&dentry->d_lru);
> > + dentry_stat.nr_unused--;
> > + }
> > +}
> > +
> > /*
> > * This is dput
> > *
>
> Please use regular kernel coding style for functions:
> don't put qualifiers and names on separate lines.
Oops - I'm too used to the XFS coding style. Fixed.
> > @@ -377,6 +399,48 @@ static inline void prune_one_dentry(stru
> > spin_lock(&dcache_lock);
> > }
> >
> > +/*
> > + * Shrink the dentry LRU on æ given superblock.
>
> on ? given superblock ?
"a". Fixed.
I'll wait for other comments before sending out an updated patch.
Cheers,
Dave.
--
Dave Chinner
R&D Software Enginner
SGI Australian Software Group
next prev parent reply other threads:[~2006-05-24 1:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 1:24 David Chinner
2006-05-24 1:44 ` Randy.Dunlap
2006-05-24 1:48 ` David Chinner [this message]
2006-05-24 1:59 ` Arjan van de Ven
2006-05-24 4:01 ` David Chinner
2006-05-24 4:23 ` Arjan van de Ven
2006-05-24 5:47 ` David Chinner
2006-05-24 5:02 ` Balbir Singh
2006-05-24 6:19 ` David Chinner
2006-05-24 7:06 ` Balbir Singh
2006-05-24 8:15 ` David Chinner
2006-05-24 8:28 ` Balbir Singh
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=20060524014841.GA7418631@melbourne.sgi.com \
--to=dgc@sgi.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
/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®