Messages in this thread | | | Date | Wed, 7 May 2008 09:25:33 -0600 | From | Matthew Wilcox <> | 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."
| |