Re: [PATCH 1/4] mm: vmpressure: scale sampling window with machine size
From: Michal Hocko
Date: Wed Jul 22 2026 - 04:13:37 EST
On Wed 15-07-26 20:06:41, deepakraog wrote:
> The vmpressure window size was fixed at 512 pages (SWAP_CLUSTER_MAX * 16).
> Scale it at boot from total memory and CPU count using the same fls-based
> formula as vmstat per-zone thresholds, clamped between 128 and 2048 pages.
This is not giving us any rationale why this is needed or desirable.
--
Michal Hocko
SUSE Labs