[PATCH]: show_free_area shows free pages in pcp list

From: Seth, Rohit
Date: Wed Sep 28 2005 - 12:22:50 EST




[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@xxxxxxxxx>


--- 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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/