From: "Ray Lee" <ray-lk@madrabbit.org>
To: "Matthew Wilcox" <matthew@wil.cx>
Cc: "rae l" <crquan@gmail.com>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: It's time to hack on dentry_stat?
Date: Wed, 7 May 2008 09:10:28 -0700 [thread overview]
Message-ID: <2c0942db0805070910w6b304d3cye8848d5c03462aa2@mail.gmail.com> (raw)
In-Reply-To: <20080507152533.GW19219@parisc-linux.org>
On Wed, May 7, 2008 at 8:25 AM, Matthew Wilcox <matthew@wil.cx> wrote:
> On Wed, May 07, 2008 at 08:08:09AM -0700, Ray Lee wrote:
> > One could hardcode the output of the last three (four?) fields, yes?
> > Slightly grotty, but if it comes with a decent memory savings...
>
> How can it be a 'decent memory saving'? There is exactly _one_ struct
> dentry_stat_t in the entire kernel. So you're talking about saving 4
> ints, or 16 bytes. Bet you it'd be more bytes to hardcode printing zero.
<shrug> Well, if there's one, then obviously there isn't. I'd assumed
it was a per-dentry overhead.
next prev parent reply other threads:[~2008-05-07 16:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 14:26 It's time to hack on dentry_stat? rae l
2008-05-07 14:51 ` Matthew Wilcox
2008-05-07 15:06 ` rae l
2008-05-07 15:08 ` Ray Lee
2008-05-07 15:25 ` Matthew Wilcox
2008-05-07 16:10 ` Ray Lee [this message]
2008-05-07 16:32 ` rae l
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=2c0942db0805070910w6b304d3cye8848d5c03462aa2@mail.gmail.com \
--to=ray-lk@madrabbit.org \
--cc=crquan@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew@wil.cx \
/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;
as well as URLs for NNTP newsgroup(s).