Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935949Ab0GPIR3 (ORCPT ); Fri, 16 Jul 2010 04:17:29 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:54963 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935847Ab0GPIR0 (ORCPT ); Fri, 16 Jul 2010 04:17:26 -0400 Message-ID: <4C40158C.4050402@cs.helsinki.fi> Date: Fri, 16 Jul 2010 11:17:16 +0300 From: Pekka Enberg User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Bob Liu CC: Matt Mackall , akpm@linux-foundation.org, linux-mm@kvack.org, hannes@cmpxchg.org, LKML , Mel Gorman Subject: Re: [PATCH] slob_free:free objects to their own list References: <1278756333-6850-1-git-send-email-lliubbo@gmail.com> <1279058027.936.236.camel@calx> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1353 Lines: 45 Bob Liu wrote: > This is /proc/meminfo result in my test machine: > without this patch: > === > MemTotal: 1030720 kB > MemFree: 750012 kB > Buffers: 15496 kB > Cached: 160396 kB > SwapCached: 0 kB > Active: 105024 kB > Inactive: 145604 kB > Active(anon): 74816 kB > Inactive(anon): 2180 kB > Active(file): 30208 kB > Inactive(file): 143424 kB > Unevictable: 16 kB > .... > > with this patch: > === > MemTotal: 1030720 kB > MemFree: 751908 kB > Buffers: 15492 kB > Cached: 160280 kB > SwapCached: 0 kB > Active: 102720 kB > Inactive: 146140 kB > Active(anon): 73168 kB > Inactive(anon): 2180 kB > Active(file): 29552 kB > Inactive(file): 143960 kB > Unevictable: 16 kB > ... > > The result show only very small improverment! > And when i tested it on a embeded system with 64MB, I found this path > is never called while kernel booting. That's 1 MB improvement which is by no means small! I applied the patch. Thanks Bob! -- 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/