]> 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>
Thu, 27 Jun 2013 23:51:27 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:30 +0000 (16:37 +1000)
commitaf0a60d527ab7b6e59174d0936581399068e1d64
treedd4735caa2c29b8b0f1d70735349150afbdd875a
parent9e8e4e954cbd7e86f25444fd27d06d2d50fdf8ea
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