[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080507152533.GW19219@parisc-linux.org>
Date: Wed, 7 May 2008 09:25:33 -0600
From: Matthew Wilcox <matthew@....cx>
To: Ray Lee <ray-lk@...rabbit.org>
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 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.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
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