mm: vmscan: remove dead code related to lumpy reclaim waiting on pages under writeback
authorMel Gorman <>
Tue, 1 Nov 2011 00:07:42 +0000 (17:07 -0700)
committerLinus Torvalds <>
Tue, 1 Nov 2011 00:30:46 +0000 (17:30 -0700)
mm: vmscan: remove dead code related to lumpy reclaim waiting on pages under writeback

Lumpy reclaim worked with two passes - the first which queued pages for IO
and the second which waited on writeback.  As direct reclaim can no longer
write pages there is some dead code.  This patch removes it but direct
reclaim will continue to wait on pages under writeback while in
synchronous reclaim mode.

Signed-off-by: Mel Gorman <>
Cc: Dave Chinner <>
Cc: Christoph Hellwig <>
Cc: Johannes Weiner <>
Cc: Wu Fengguang <>
Cc: Jan Kara <>
Cc: Minchan Kim <>
Cc: Rik van Riel <>
Cc: Mel Gorman <>
Cc: Alex Elder <>
Cc: Theodore Ts'o <>
Cc: Chris Mason <>
Cc: Dave Hansen <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>