Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757691AbYAJTvD (ORCPT ); Thu, 10 Jan 2008 14:51:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754216AbYAJTux (ORCPT ); Thu, 10 Jan 2008 14:50:53 -0500 Received: from one.firstfloor.org ([213.235.205.2]:38756 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753707AbYAJTuw (ORCPT ); Thu, 10 Jan 2008 14:50:52 -0500 Date: Thu, 10 Jan 2008 20:53:29 +0100 From: Andi Kleen To: Linus Torvalds Cc: Matt Mackall , Pekka J Enberg , Christoph Lameter , Ingo Molnar , Hugh Dickins , Andi Kleen , Peter Zijlstra , Linux Kernel Mailing List Subject: Re: [RFC PATCH] greatly reduce SLOB external fragmentation Message-ID: <20080110195329.GB2120@one.firstfloor.org> References: <1199906151.6245.57.camel@cinder.waste.org> <1199919548.6245.74.camel@cinder.waste.org> <1199987366.5331.92.camel@cinder.waste.org> <1199990565.5331.130.camel@cinder.waste.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 792 Lines: 20 > - huge pages (superpages for those crazy db people) > > Just a simple linked list of these things is fine, we'd never care > about coalescing large pages together anyway. I did essentially that for my GBpages hugetlbfs patchkit. GB pages are already beyond MAX_ORDER and increasing MAX_ORDER didn't seem attractive because it would require aligning the zones all to 1GB which would quite nasty. So it just grabbed them out of bootmem early and managed them in a per node list. Not sure it's a good idea for 2MB pages though. -Andi -- 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/