lkml.org 
[lkml]   [2008]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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."


\
 
 \ /
  Last update: 2008-05-07 17:29    [W:0.042 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site