lkml.org 
[lkml]   [2004]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dentry bloat.
Linus Torvalds <torvalds@osdl.org> wrote:
>
> > The calculation of DNAME_INLINE_LEN assumes that slab padded the dentry out
> > to the next cacheline.
>
> No it doesn't. It's just:
>
> #define DNAME_INLINE_LEN (sizeof(struct dentry)-offsetof(struct dentry,d_iname))
>
> which is always right.

erk. OK. Things are (much) worse than I thought. The 24 byte limit means
that 20% of my names will be externally allocated, but that's no worse than
what we had before.

We should make this change to 2.4.x.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.066 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site