Re: It's time to hack on dentry_stat?

From: Matthew Wilcox
Date: Wed May 07 2008 - 11:25:50 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/