]> git.kernelconcepts.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>
Mon, 8 Oct 2012 03:00:07 +0000 (14:00 +1100)
commit55624e08d89ece78564f388269d53748a35e53aa
tree6f1f9a33d0db58bca8407d86f9bb80fd5f45415d
parent70647c4e712bcfa25dedbff2a689742ea537286d
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