git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9b02d9
)
[PATCH] mm: shrink_inactive_lis() nr_scan accounting fix
author
Wu Fengguang
<wfg@mail.ustc.edu.cn>
Wed, 22 Mar 2006 08:08:28 +0000
(
00:08
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:00 +0000
(07:54 -0800)
In shrink_inactive_list(), nr_scan is not accounted when nr_taken is 0.
But 0 pages taken does not mean 0 pages scanned.
Move the goto statement below the accounting code to fix it.
Signed-off-by: Wu Fengguang <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c
patch
|
blob
|
history
diff --cc
mm/vmscan.c
Simple merge