lkml.org 
[lkml]   [2006]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Buglet in vmscan.c
The attached patch fixes a rather obvious buglet. 
Noticed while instrumenting the VM using /proc/vmstat.


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --- .orig/mm/vmscan.c 2006-12-26 21:34:30.000000000 -0500
+++ 2.6.20-rc2-wb-fix/mm/vmscan.c 2006-12-26 21:32:17.000000000 -0500
@@ -692,7 +692,7 @@
__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;
\
 
 \ /
  Last update: 2006-12-27 03:47    [W:0.018 / U:1.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site