s/SWAP_CLUSTER_MAX/SWAP_CLUSTER_MAX * 2/, per Johannes
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
* TODO: Make the window size depend on machine size, as we do for vmstat
* thresholds. Currently we set it to 512 pages (2MB for 4KB pages).
*/
-static const unsigned long vmpressure_win = SWAP_CLUSTER_MAX;
+static const unsigned long vmpressure_win = SWAP_CLUSTER_MAX * 2;
/*
* These thresholds are used when we account memory pressure through