linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]: show_free_area shows free pages in pcp list
@ 2005-09-28 17:22 Seth, Rohit
  2005-09-28 17:40 ` Christoph Lameter
  0 siblings, 1 reply; 5+ messages in thread
From: Seth, Rohit @ 2005-09-28 17:22 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel



	[PATCH]: The count field in pcp list represents the free pages in that list.  Change the "used" to "free" in the print message in show_free_area routine.

	Signed-off-by: Rohit Seth <rohit.seth@intel.com>


--- linux-2.6.14-rc2-mm1.org/mm/page_alloc.c	2005-09-27 10:03:51.000000000 -0700
+++ linux-2.6.14-rc2-mm1/mm/page_alloc.c	2005-09-28 09:09:21.000000000 -0700
@@ -1409,7 +1409,7 @@
 			pageset = zone_pcp(zone, cpu);
 
 			for (temperature = 0; temperature < 2; temperature++)
-				printk("cpu %d %s: low %d, high %d, batch %d used:%d\n",
+				printk("cpu %d %s: low %d, high %d, batch %d free:%d\n",
 					cpu,
 					temperature ? "cold" : "hot",
 					pageset->pcp[temperature].low,

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-28 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-28 17:22 [PATCH]: show_free_area shows free pages in pcp list Seth, Rohit
2005-09-28 17:40 ` Christoph Lameter
2005-09-28 18:17   ` Rohit Seth
2005-09-28 18:36     ` Christoph Lameter
2005-09-28 20:37       ` Rohit Seth

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).