| Date | Fri, 05 Jan 2007 18:28:20 -0800 | From | Chris Wright <> | Subject | [patch 27/50] Buglet in vmscan.c |
| |
-stable review patch. If anyone has any objections, please let us know. ------------------
From: Shantanu Goel <sgoel01@yahoo.com>
Fix a rather obvious buglet. Noticed while instrumenting the VM using /proc/vmstat.
Cc: Christoph Lameter <clameter@engr.sgi.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Chris Wright <chrisw@sous-sol.org> ---
mm/vmscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.19.1.orig/mm/vmscan.c +++ linux-2.6.19.1/mm/vmscan.c @@ -691,7 +691,7 @@ static unsigned long shrink_inactive_lis __count_vm_events(KSWAPD_STEAL, nr_freed); } else __count_zone_vm_events(PGSCAN_DIRECT, zone, nr_scan); - __count_vm_events(PGACTIVATE, nr_freed); + __count_zone_vm_events(PGSTEAL, zone, nr_freed); if (nr_taken == 0) goto done; -- - 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/
|