From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 3 Nov 2006 13:53:55 -0800 (PST) From: Christoph Lameter Subject: Re: Page allocator: Single Zone optimizations In-Reply-To: <20061103135013.6bdc6240.akpm@osdl.org> Message-ID: References: <4544914F.3000502@yahoo.com.au> <20061101182605.GC27386@skynet.ie> <20061101123451.3fd6cfa4.akpm@osdl.org> <454A2CE5.6080003@shadowen.org> <20061103135013.6bdc6240.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Mel Gorman , Andy Whitcroft , Nick Piggin , KAMEZAWA Hiroyuki , Linux Memory Management List , Peter Zijlstra List-ID: On Fri, 3 Nov 2006, Andrew Morton wrote: > > Kernel pages are buffered already in the slab > > allocator > > But why? I've been intermittently campaigning to stop doing that for about > five years now. Having private lists of free pages in the slab allocator > is duplicative of the page allocator's lists and worsens performance. This has to do with the constructors and the destructors. They are only applied during the first allocation or the final deallocation of the slab. The slab (with the pages) stays on the freelist with all objects having proper values as set by the constructors. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org