Re: [PATCH V2] MM: make vmpressure_win dynamic

From: Tejun Heo
Date: Thu May 08 2014 - 14:24:52 EST


On Wed, May 7, 2014 at 4:52 PM, Fabian Frederick <fabf@xxxxxxxxx> wrote:
> Initialize vmpressure_win in vmstat using
> calculate_normal_threshold() based on each zone/cpu * SWAP_CLUSTER_SIZE
>
> Value refreshed through cpu notifier and exposed in read-only through /sys/kernel
>
> This is untested.
>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>

Please cc memcg maintainers. Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/