From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18EAF443ABE for ; Wed, 22 Jul 2026 08:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784710387; cv=none; b=E//gAuV53cq9WaJLR3XsBuN9ldlnZ5llXdY47MHGZjkKl9gmNhPH+IGOWN7yjPMtDWhpS8DG5Tr65HVgmvNSZdoiZbwQKHz1wEnKp1tdmyP4paLgcOhOtyhoPc/pc4Ab51HhYPg64Np8f2QnZYLwJZLqRg2q6vFiknqTpgXkXjo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784710387; c=relaxed/simple; bh=GyOcgX/JrvPJwhP/amg6I0codmSgZ3HLCjB358pTvwo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=akTP3xtHIAlP3yRi0gLGPxU3RwcWXHaionZbr8sdwgiw0Fc3H64bDiH0Yk+xD2m8QUtZk6r7bGqRSaITtVS+A4oYrudleIRJvDnuY5i7DbcTQ6ZK1YwpAjewADeuyETS0uwXZ7JIYkdsD0qwKmM2nE8Dk9m5/ZDGgarRos0EYWI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jP7ZIN8U; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jP7ZIN8U" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67AED1F000E9; Wed, 22 Jul 2026 08:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784710385; bh=GyOcgX/JrvPJwhP/amg6I0codmSgZ3HLCjB358pTvwo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=jP7ZIN8UgO/HUTXhWIEmVSbC76l0TGwpR2XciQHR88M0YJHCd2AMJ3dM1NBo9WmA4 0kwZ4wXq1d/1Mpi/9E+Gj8+85uQRwGHYjQo2d8bYh8pt/h/5J80x9Y7PvOjllk5qDS q52n28K1yZXRPeQYij3nDdMQ3dMzbi6KarcgWIxjkf47y6mUcEZbnbnNMFoWbTYHNg Yd1nNX3Gi8X8lUBD1M2v0N5FTev5NtHifPX7hJ2w4d+7BCZu1ffKu4qRWIMlZw8rTY ufsqXqY1YZRm303pik/Aw6G4DGxuxg1t1AT1LD3YRnwe9XRfCvgb3h4qzwlQHxJnMo CmkK6sdQU4mug== Date: Wed, 22 Jul 2026 09:52:49 +0100 From: "Lorenzo Stoakes (ARM)" To: Michal Hocko Cc: deepakraog , Andrew Morton , David Hildenbrand , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] mm: vmpressure: scale sampling window with machine size Message-ID: References: <20260715143646.15828-1-gaikwad.dcg@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Jul 22, 2026 at 10:07:53AM +0200, Michal Hocko wrote: > 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. Agreed, the series are all somewhat corrupted here (seemingly some patches missing + not sent to the same list of people, unrelated stuff in the same series, etc.). I replied to the v2 of this ([0]), in general this is essentially the same thing submitted by a previous person ([1]), and Deepak acked that ([2]) and agreed that this isn't worth pursuing. Cheers, Lorenzo [0]:https://lore.kernel.org/linux-mm/aljYxLusTzZkTfnH@lucifer/ [1]:https://lore.kernel.org/all/20260227221555.29969-1-mcq@disroot.org/ [2]:https://lore.kernel.org/all/20260716134938.42495-1-gaikwad.dcg@gmail.com/ > > -- > Michal Hocko > SUSE Labs