From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1921332B985 for ; Mon, 2 Mar 2026 08:56:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772441803; cv=none; b=qBIoJH1lHAq+MHzX3E43OpURzOaOUTp/l2fYRvrzddn1Sj0lO694HnQaw84v/Zso+V2HrrrruDhB8kWPo77QefWERR+vhhO02qh0ez+/MPiBgBgYMjXCJ8NhR/PqGvQEWW6W+ndKgj1RmkGt2r6YPvFeJwmdfLpUkiL8lbiFo10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772441803; c=relaxed/simple; bh=YqRAcd8yMdDNVfB+ZnnvjGNe5/4HmfmOoBRv29AFdEA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=vBr1S3ygIpxhp6KkxHoR5TUB6+qX8I5ub+EDlo4SbhEcjpvM3jceTSQqYGdHFhbadiDwUOboYBVUplU8x1/BPU7BUI9flNV/zOoA/+4Hz3MNk375bXs4wcoomEQZjTZZLp3UgLryrxzNdn5KCJC2iNXVcRGTlB4n2LSgE6rvUwo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=AuhQsAWP; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="AuhQsAWP" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4806f3fc50bso45399895e9.0 for ; Mon, 02 Mar 2026 00:56:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1772441800; x=1773046600; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zGn2zBBybEEv9ZX44IZlKquE1/3o0xnUGc8fJWCYB9M=; b=AuhQsAWPfbSe7xSg4cGOYiuriLYpiQ3lYdV3GjPv+DU3E7SIQp+ogkFzE35bMEl+B2 tICLpbLgX2vAYMQiUuviwVr6cLusZIFD9CVbnH4uzbJ84EJTmmN4lWOEk+VjrBa/ukSp yc+S5Yk4/B1LHGxnqsEfCXovuZlG013LshVnyW3/RQZt3a/KsNNQuNrFR6NYp0a46wUl 8Q/Ki8FLz4mVE8sZRwv0L5IWclI5qYb9NAoSc2rGfPdiwiuSVB4m68hYRKWdo3RGsPuc MoI6sfbwybPmXYWZ7S6CH5qVtl1nUjpXKhGyQtDhuTOKuAp7P7eyEVKx32GGOx7Fp5bM 89tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772441800; x=1773046600; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zGn2zBBybEEv9ZX44IZlKquE1/3o0xnUGc8fJWCYB9M=; b=OdZItRYzv8aCxujsRZfTE7L1AUb4v0bTrvWiTKkE26lDfaItK4beBETGNTASkLzrSD r25EWKxowX0ZacXwG0339UHkigtFn17nmleIVkXRxm1xHW3DThyonR+kAPleEKHHCXMD hwWvbYzadJiIBbwT3+miQZH/kk8BstdkHMj3atsCwn/zZWuwqKZeoExR/9Z8i3oWSbva HJVxQoztJGUXZCqWN+o5mPpDKhF+OILQfdG+YzFhyuYF16nzDjnmWlq2iqIjb17Xm2uF 8OrHNUFjTrheBJTNqfA0x05oqQrqpAn3tlKcmRc7PfUoF9RdoPv7KeQ7aWeVHmi8Y2AG 7Ydg== X-Forwarded-Encrypted: i=1; AJvYcCU+xplaMgUOy2qJFfr8+h6+x6D6XMVCnfrl+eVrBMsJaFa/178iZv5ExoC/sjiHPKPvr7ZMQuuH1ENu26U=@vger.kernel.org X-Gm-Message-State: AOJu0Yx8GVO/P+Jvg1CWYQRFcvf0Rs8jfNetJDkF1gs2vg03OARdaiz8 uBfQOzs75Ds4G2j9pBLsj0N1sq91w5G6yAo+7QDFlN1WklmLrtTdzHrDYJXt7cqaDZQ= X-Gm-Gg: ATEYQzykIYhhwdHBdLrfMNG/AZKEI7pCtIRGDMrL81bmAiwtA5MDXx816b9AXDLJKyf wuYyvwzfJJeDp14OIERrov4ehY9aBhhMSQ1s3JE9FIJICSvIvUKKyHDGHnKVGjGslD1BnhMt2i7 iDvcczSd9bxJ55LOgbuH3b+CbXl92QkzISlhIdzzSgqVMBy9xSt776CE22zlfFnw0T8HnFzCNWF 93+hkIQ/Q/wa/KpS3y7mVszP5o6HZtUOdtiC47I6B9OmnjIxjpKWDkraXvL5rq+Ky7reV4nvsOd dUgBGMIgVbgrbrO5YfT/PiNWLHCL55RRlYdbsbsrOoEeLh0awtly2BwcfBAzo3msEyvdBf7nYRM oPuo1dGs8q6tacFD0Cqg2xy+TijuNLA6gqSTC2t4DhUdMfKZsmji2Ja3UgZwV8ZWeuK/uwfQsae QZuJj6Zk8zNX7CwoIenlOV9uxFUQKYc66Ux6Iw X-Received: by 2002:a05:600c:8711:b0:47b:de05:aa28 with SMTP id 5b1f17b1804b1-483c9b9701amr226732165e9.2.1772441800274; Mon, 02 Mar 2026 00:56:40 -0800 (PST) Received: from localhost (109-81-20-148.rct.o2.cz. [109.81.20.148]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483c3b770c2sm263183375e9.10.2026.03.02.00.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2026 00:56:39 -0800 (PST) Date: Mon, 2 Mar 2026 09:56:38 +0100 From: Michal Hocko To: Benjamin Lee McQueen Cc: akpm@linux-foundation.org, david@kernel.org, lorenzo.stoakes@oracle.com, Liam.Howlett@oracle.com, vbabka@kernel.org, rppt@kernel.org, surenb@google.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/vmpressure: scale window size based on machine memory and CPU count Message-ID: References: <20260227221555.29969-1-mcq@disroot.org> 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: <20260227221555.29969-1-mcq@disroot.org> On Fri 27-02-26 16:15:55, Benjamin Lee McQueen wrote: > on systems of different sizes, the fixed 512 page window may not > be suitable and cause excessive false positive memory pressure > notifications. Please be more specific about the issue you are trying to have fixed. The above is way too generic. How much memory the system has, what do you consider false positive and why. What is the workload. Etc... > or should window size be capped to avoid excessive notification > delays on very large systems? > > v2: better commit msg, also tried to fix the whitespace. Also please refrain from sending new versions in a quick succession and wait for more feedback to come. Last but not lease if this is a more of an idea rather than something aimed to be merged make the fact explicit by RFC prefix to PATCH. There is much more you can read about the process in Documentation/process/ Thanks -- Michal Hocko SUSE Labs