Messages in this thread |  | | Date | Mon, 3 Mar 2003 15:09:33 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: Horrible L2 cache effects from kernel compile |
| |
On 3 Mar 2003, Alan Cox wrote: > On Mon, 2003-03-03 at 19:13, Linus Torvalds wrote: > > dentry itself. Yes, you could make it smaller (you could remove the inline > > string from it, for example, and you could avoid allocating it at > > How about at least making the inline string align to the slab alignment so we > dont waste space ?
2.5.x does that already:
#define DNAME_INLINE_LEN \ (sizeof(struct dentry)-offsetof(struct dentry,d_iname))
with the DNAME_INLINE_LEN_MIN just being exactly what the name says: the minimum size.
Linus
- 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/
|  |