Re: dentry bloat.

From: Linus Torvalds
Date: Sat May 08 2004 - 23:44:04 EST

On Sat, 8 May 2004, Linus Torvalds wrote:
> NOTE! It's absolutely true that DNAME_INLINE_LEN may still be different
> from DNAME_INLINE_LEN_MIN. In particular, if something inside the struct
> makes the alignment of "struct dentry" be bigger than the offset of the
> last field, then DNAME_INLINE_LEN will be different from (bigger than)

Btw, this does depend on the fact that a regular "kmem_cache_create()"
with a alignment of 0 had better return a pointer that is always "aligned
enough" for the architecture in question.

But that had better be true anyway, since otherwise everything would
basically have to specify the alignment by hand, and the alignment of 0
would be useless.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at