Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 16 Mar 2002 15:51:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 16 Mar 2002 15:51:45 -0500 Received: from vindaloo.ras.ucalgary.ca ([136.159.55.21]:20677 "EHLO vindaloo.ras.ucalgary.ca") by vger.kernel.org with ESMTP id ; Sat, 16 Mar 2002 15:51:36 -0500 Date: Sat, 16 Mar 2002 13:51:32 -0700 Message-Id: <200203162051.g2GKpWX14185@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: Linus Torvalds Cc: , Andi Kleen , Paul Mackerras , Subject: Re: [Lse-tech] Re: 10.31 second kernel compile In-Reply-To: In-Reply-To: <200203162036.g2GKaL513580@vindaloo.ras.ucalgary.ca> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: > > On Sat, 16 Mar 2002, Richard Gooch wrote: > > > > These are contiguous physical pages, or just logical (virtual) pages? > > Contiguous virtual pages, but discontiguous physical pages. That's what I was hoping. Having both contiguous would be of some benefit, but of course at the cost of having to unfragment physical pages. Even if Andi can cleanly do that with rmap, it's still going to cost (page copies, Dcache footprint, locking and more). I like the "wide" TLB approach much more. > The advantage being that you only need one set of virtual tags per > "wide" entry, and you just fill the whole wide entry directly from > the cacheline (ie the TLB entry is not really 32 bits any more, it's > a full cacheline). > > The _real_ advantage being that it should be totally invisible to > software. I think Intel does something like this, but the point is, > I don't even have to know, and it still works. Completely behind the kernel's, back? Even so, is there some hint we can give to the CPU to help? Or perhaps a hint an application can give to the kernel to specify better alignment of mappings? The latter would require a way for the kernel to find out the preferred alignment from the CPU. Is this information available? Anyone know if AMD does this as well? Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca - 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/