projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463cab3
)
[PATCH] Buglet in vmscan.c
author
Shantanu Goel
<
[email protected]
>
Sat, 30 Dec 2006 00:48:59 +0000
(16:48 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sat, 30 Dec 2006 18:56:43 +0000
(10:56 -0800)
Fix a rather obvious buglet. Noticed while instrumenting the VM using
/proc/vmstat.
Cc: Christoph Lameter <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/vmscan.c
patch
|
blob
|
history
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index 63eb9ab0032b9a865a3ca88f98ae36c0e2f115db..40fea4918390e6e69b96bc463b974a4ad31bb2bf 100644
(file)
--- 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;