]> Git Repo - linux.git/commit
[PATCH] mm: shrink_inactive_lis() nr_scan accounting fix
authorWu Fengguang <[email protected]>
Wed, 22 Mar 2006 08:08:28 +0000 (00:08 -0800)
committerLinus Torvalds <[email protected]>
Wed, 22 Mar 2006 15:54:00 +0000 (07:54 -0800)
commitfb8d14e172a29ba5ac69a73b61196be86fdfc3e1
tree5b31eac00f8fc5860170d7f8b2e7e961dbda0ddf
parentc9b02d970c385a253edb36c87643b0df706b50b4
[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmscan.c
This page took 0.05529 seconds and 4 git commands to generate.