[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2c0942db0805070910w6b304d3cye8848d5c03462aa2@mail.gmail.com>
Date: Wed, 7 May 2008 09:10:28 -0700
From: "Ray Lee" <ray-lk@...rabbit.org>
To: "Matthew Wilcox" <matthew@....cx>
Cc: "rae l" <crquan@...il.com>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: It's time to hack on dentry_stat?
On Wed, May 7, 2008 at 8:25 AM, Matthew Wilcox <matthew@....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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists