]> 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>
Thu, 4 Oct 2012 05:03:25 +0000 (15:03 +1000)
commit91ebdeac5af8990372efe10aa56d63bbfb59b7df
tree5b2aaa13e997c89918b01fa999787207d0305771
parent45d5e056a1354ba66071feab489b53320db71e18
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