]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: vmpressure: fix scan window after SWAP_CLUSTER_MAX increase
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 21 Oct 2015 22:03:42 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:42 +0000 (09:03 +1100)
commit31e5156730d1eb4f093345ab4afb9a7deafc0cf1
tree044fa051590df8efc062ef389e3d40e6055c11ac
parent426ecb4d5df4bd0c96c3633846f3475d685061ec
mm: vmpressure: fix scan window after SWAP_CLUSTER_MAX increase

mm-increase-swap_cluster_max-to-batch-tlb-flushes.patch changed
SWAP_CLUSTER_MAX from 32 pages to 256 pages, inadvertantly switching the
scan window for vmpressure detection from 2MB to 16MB.  Fix.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmpressure.c