diff options
author | Shantanu Goel <sgoel01@yahoo.com> | 2006-12-29 16:48:59 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-30 10:56:43 -0800 |
commit | 918d3f90e8d5657491024f64427e9a5ea632d284 (patch) | |
tree | 7c1be7f238372f3b7d5de1d5b3a5c2339765813e /mm/vmscan.c | |
parent | 463cab36926a39d5e690664ebb5560a8b119fc71 (diff) | |
download | linux-stable-918d3f90e8d5657491024f64427e9a5ea632d284.tar.gz linux-stable-918d3f90e8d5657491024f64427e9a5ea632d284.tar.bz2 linux-stable-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/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 63eb9ab0032b..40fea4918390 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; |