summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorWu Fengguang2006-03-22 09:08:28 +0100
committerLinus Torvalds2006-03-22 16:54:00 +0100
commitfb8d14e172a29ba5ac69a73b61196be86fdfc3e1 (patch)
tree5b31eac00f8fc5860170d7f8b2e7e961dbda0ddf /mm/mmap.c
parent[PATCH] mm: isolate_lru_pages() scan count fix (diff)
downloadkernel-qcow2-linux-fb8d14e172a29ba5ac69a73b61196be86fdfc3e1.tar.gz
kernel-qcow2-linux-fb8d14e172a29ba5ac69a73b61196be86fdfc3e1.tar.xz
kernel-qcow2-linux-fb8d14e172a29ba5ac69a73b61196be86fdfc3e1.zip
[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 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions