diff options
author | Shantanu Goel <sgoel01@yahoo.com> | 2006-12-29 19:48:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-30 13:56:43 -0500 |
commit | 918d3f90e8d5657491024f64427e9a5ea632d284 (patch) | |
tree | 7c1be7f238372f3b7d5de1d5b3a5c2339765813e /mm | |
parent | 463cab36926a39d5e690664ebb5560a8b119fc71 (diff) |
[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.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, | |||
692 | __count_vm_events(KSWAPD_STEAL, nr_freed); | 692 | __count_vm_events(KSWAPD_STEAL, nr_freed); |
693 | } else | 693 | } else |
694 | __count_zone_vm_events(PGSCAN_DIRECT, zone, nr_scan); | 694 | __count_zone_vm_events(PGSCAN_DIRECT, zone, nr_scan); |
695 | __count_vm_events(PGACTIVATE, nr_freed); | 695 | __count_zone_vm_events(PGSTEAL, zone, nr_freed); |
696 | 696 | ||
697 | if (nr_taken == 0) | 697 | if (nr_taken == 0) |
698 | goto done; | 698 | goto done; |