]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm-vmscan-block-kswapd-if-it-is-encountering-pages-under-writeback-fix-2
authorMel Gorman <mgorman@suse.de>
Wed, 19 Jun 2013 00:06:00 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:13:01 +0000 (17:13 +1000)
commit0a2684a40e9f8c6e0c7a18f7607f890a363f44f6
tree9a9283c36eae87e9f5c02eebcc18c47636995ee5
parent68498d5f9f035208c3419135c37a4411036fe9f1
mm-vmscan-block-kswapd-if-it-is-encountering-pages-under-writeback-fix-2

The patch "mm: vmscan: Block kswapd if it is encountering pages under
writeback" stalls in congestion_wait it encounters a page under writeback
that is marked for immediate reclaim.  Initially this was a
wait_on_page_writeback() but after the switch to congestion_wait(), there
is no guarantee the page has completed writeback and it can be placed on a
list for freeing.

This is a fix for
mm-vmscan-block-kswapd-if-it-is-encountering-pages-under-writeback.patch

Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c