summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorShantanu Goel <sgoel01@yahoo.com>2006-12-29 16:48:59 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-30 10:56:43 -0800
commit918d3f90e8d5657491024f64427e9a5ea632d284 (patch)
tree7c1be7f238372f3b7d5de1d5b3a5c2339765813e /mm
parent463cab36926a39d5e690664ebb5560a8b119fc71 (diff)
downloadlinux-3.10-918d3f90e8d5657491024f64427e9a5ea632d284.tar.gz
linux-3.10-918d3f90e8d5657491024f64427e9a5ea632d284.tar.bz2
linux-3.10-918d3f90e8d5657491024f64427e9a5ea632d284.zip
[PATCH] Buglet in vmscan.c
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: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/vmscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 63eb9ab0032..40fea491839 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -692,7 +692,7 @@ static unsigned long shrink_inactive_list(unsigned long max_scan,
__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;