From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 24 May 2007 05:15:48 +0200 From: Nick Piggin Subject: Re: [patch 1/3] slob: rework freelist handling Message-ID: <20070524031548.GA14349@wotan.suse.de> References: <20070523183224.GD11115@waste.org> <20070523195824.GF11115@waste.org> <20070523210612.GI11115@waste.org> <20070523224206.GN11115@waste.org> <20070524020530.GA13694@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Matt Mackall , Andrew Morton , Linux Memory Management List List-ID: On Wed, May 23, 2007 at 07:49:50PM -0700, Christoph Lameter wrote: > Here is what I got trying to trim down SLUB on x84_64 (UP config) > > Full: > > text data bss dec hex filename > 25928 11351 256 37535 929f mm/slub.o > > !CONFIG_SLUB_DEBUG + patch below > > text data bss dec hex filename > 8639 4735 224 13598 351e mm/slub.o > > SLOB > > text data bss dec hex filename > 4206 96 0 4302 10ce mm/slob.o > > So we can get down to about double the text size. Data is of course an > issue. Other 64 bit platforms bloat the code significantly. > > Interesting that inlining some functions actually saves memory. > > SLUB embedded: Reduce memory use II After boot test, this has 760K free. -- 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