diff options
author | Shantanu Goel <sgoel01@yahoo.com> | 2006-12-29 16:48:59 -0800 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2007-01-10 11:05:20 -0800 |
commit | cb5dad8b96734e7f92160e389794ca8d9b58da2d (patch) | |
tree | 14dcc967e77f74af53b44c696d84c12471447154 /mm | |
parent | d0b18e5c89b42697dd2d5af55f4efc430b0586b1 (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: Chris Wright <chrisw@sous-sol.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 518540a4a2a..f58d359d624 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -691,7 +691,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; |