Messages in this thread | | | Date | Sat, 8 May 2004 21:36:43 -0700 | From | Andrew Morton <> | Subject | Re: 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/
| |