]> 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>
Wed, 26 Sep 2012 01:33:42 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 26 Sep 2012 05:45:00 +0000 (15:45 +1000)
commit1455407386dd5482a0f0f3484c1b50fe690393ef
treeed87b9e5ce7d91addaab5657f70af51f2f1b6b1d
parente8063dd4c51500d6ba43b276cd1a9ce343067a80
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