]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm-cma-discard-clean-pages-during-contiguous-allocation-instead-of-migration-fix
authorMinchan Kim <minchan@kernel.org>
Fri, 28 Sep 2012 00:19:37 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:49:27 +0000 (16:49 +1000)
commit2df66b481e01804bc09bb59c4ffd19d6d78c7b94
tree6933745cfa698c39960fa6ce78a80dd8cc3c379b
parentb104d4c0c5e877858c56a69b58458944123d9290
mm-cma-discard-clean-pages-during-contiguous-allocation-instead-of-migration-fix

It is possible for pages to be dirty after the check
in reclaim_clean_pages_from_list so that it ends up
paging out the pages, which is never what we want for speed up.

This patch fixes it.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c