From mboxrd@z Thu Jan 1 00:00:00 1970 From: mulyadi.santosa@gmail.com (Mulyadi Santosa) Date: Tue, 8 Mar 2011 18:54:13 +0700 Subject: Regarding memory compaction In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi.. On Tue, Mar 8, 2011 at 16:43, solmac john wrote: > Hi All, > I am working on memory?compaction. > (http://lwn.net/Articles/368869/) and i wan't to test the same > can some one guide how to test same or is there any sample?application?or > utility to test memory compaction Not 100% sure if it could help. Try to grep my test code here http://linuxdevcenter.com/pub/a/linux/2006/11/30/linux-out-of-memory.html and insert the related memory compaction call inside it (during the sequence of free and malloc). And then, by both checking /proc/meminfo and /proc/buddyinfo, I think you could pick the conclusion... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com