From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Bob Liu <lliubbo@gmail.com>
Cc: Matt Mackall <mpm@selenic.com>,
akpm@linux-foundation.org, linux-mm@kvack.org,
hannes@cmpxchg.org, LKML <linux-kernel@vger.kernel.org>,
Mel Gorman <mel@csn.ul.ie>
Subject: Re: [PATCH] slob_free:free objects to their own list
Date: Fri, 16 Jul 2010 11:17:16 +0300 [thread overview]
Message-ID: <4C40158C.4050402@cs.helsinki.fi> (raw)
In-Reply-To: <AANLkTikbGTlAPAj6lbuR5nIWyBAqnfBpy3IE_LywrPID@mail.gmail.com>
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, 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2010-07-16 8:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-10 10:05 [PATCH] slob_free:free objects to their own list Bob Liu
2010-07-13 17:52 ` Pekka Enberg
2010-07-13 17:53 ` Pekka Enberg
2010-07-13 21:53 ` Matt Mackall
2010-07-14 9:07 ` Pekka Enberg
2010-07-16 5:46 ` Bob Liu
2010-07-16 8:17 ` Pekka Enberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C40158C.4050402@cs.helsinki.fi \
--to=penberg@cs.helsinki.fi \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lliubbo@gmail.com \
--cc=mel@csn.ul.ie \
--cc=mpm@selenic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).