Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 3 Mar 2003 18:02:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 3 Mar 2003 18:02:14 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:39944 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 3 Mar 2003 18:02:13 -0500 Date: Mon, 3 Mar 2003 15:09:33 -0800 (PST) From: Linus Torvalds To: Alan Cox cc: Benjamin LaHaise , Linux Kernel Mailing List Subject: Re: Horrible L2 cache effects from kernel compile In-Reply-To: <1046735907.7947.0.camel@irongate.swansea.linux.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 24 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/