diff options
| author | Wu Fengguang <wfg@mail.ustc.edu.cn> | 2006-03-22 11:08:28 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 18:54:00 +0300 |
| commit | fb8d14e172a29ba5ac69a73b61196be86fdfc3e1 (patch) | |
| tree | 5b31eac00f8fc5860170d7f8b2e7e961dbda0ddf /include/linux/sysdev.h | |
| parent | c9b02d970c385a253edb36c87643b0df706b50b4 (diff) | |
| download | linux-fb8d14e172a29ba5ac69a73b61196be86fdfc3e1.tar.xz | |
[PATCH] mm: shrink_inactive_lis() nr_scan accounting fix
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>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions
