From nobody Fri Aug 02 19:42:47 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WbGT32D6Qz5SHMh; Fri, 02 Aug 2024 19:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WbGT31N8wz4Lrd; Fri, 2 Aug 2024 19:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722627767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aqYQqOyLvWeaAiSohZDxVBo6zsGpjwB/H0Lg8NvF3jg=; b=W3CW34sN8eCpaCuvH7YEoEWP6/jygDg6qvdDxplJdJnFoqpmMpE3WMX8NVrsB9Xvc5+orl XoXhoCXoQWYTS0oCaxzfYjVhjj2JwN1P4Nt8Hhc9Slmx8VQE/FYtF9gMt+GbWfx6V4xrv6 vtzfGLwMDaXCpqFHszF8QikdhZbqtNBTRgo8RoQUTm+ZoeuG7IsOVrYTJEPe443Yai4s8j kDjt2BGAnEi99x866muYWV6au1cYozavCRAYNNlBlS2W84UW8k7rbqQ+khjhHuAsuB5lJ5 3ZuxPEQ0FiFINjuIYyUPtTfd/CVIzySIBGAMOyhrUsR+rFwvZJZetAp1ZtY9hw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722627767; a=rsa-sha256; cv=none; b=SJuPM7YN0OkHsfJjEn1YYRGhYrsh2QmYgZ2eimqiTh0dUK3KItqfy6MnqSrkKaXXzHyk8G rF9hMztKZTGISzYRAn5HpEzhgoZ+Cbpq+NwaEWbVj5jXNHTE35qqfyaYMnSN2GKinL6FQZ Y//oDoWVYylYEx0h8/+xJPzb/Th2gvMy0rWSPg9pGdI9fzgfi6O3NTyJyKy22KF8sBX2I6 1uYaaxNibkg7lZ+l15uIXF10MgakQaJ6P9oXrNeXDz5ZBYYKsVGkZLXwEX/vZTfroIUddQ bDuHHsLM2wbFB1fzSW7VEfcPisoe5F8rYDrX/M0DCo6JTjaG/N0AYqHC4Ys8Yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722627767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aqYQqOyLvWeaAiSohZDxVBo6zsGpjwB/H0Lg8NvF3jg=; b=bO3jUm0tgM5apSaOCsKZvDKHjFwXfl0prG+PLAkq31ZQ/E0DetPCx9NXSoh/2SueUMmH/O 0n+o/jReTNxfBBgvM4HkKmjl0NqSZlrEtJ4WOPzZtALfOIzpF74kkTYhgKMoLBPqaj2+fe Uwi7Ome6lxdAYG5hCJ3lH433dQq/w3kcVkowVm4iuqYEE9JD2XZ4DFBmjBfeutzGH7cwUy t9S7zaiNhTy9xut88RMUAspfBZI64UDfpCVuHDZh8c/Y58zrzgEgImuwCFvh5Bv8Q5kf9I FiNmwLywDXn3x4r3UrlK3zompEN6BjhgMzbRm4oJ2KHodEeN25lKEe1z3EdmPA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WbGT30zdBzh3F; Fri, 2 Aug 2024 19:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 472JglMB092493; Fri, 2 Aug 2024 19:42:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 472JglAJ092490; Fri, 2 Aug 2024 19:42:47 GMT (envelope-from git) Date: Fri, 2 Aug 2024 19:42:47 GMT Message-Id: <202408021942.472JglAJ092490@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alan Cox Subject: git: f6ed52c1f010 - main - vm: Stop reducing vm_pageout_page_count at startup List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: alc X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f6ed52c1f010aca5083e9c4dd3d0ad15aa8230a2 Auto-Submitted: auto-generated The branch main has been updated by alc: URL: https://cgit.FreeBSD.org/src/commit/?id=f6ed52c1f010aca5083e9c4dd3d0ad15aa8230a2 commit f6ed52c1f010aca5083e9c4dd3d0ad15aa8230a2 Author: Alan Cox AuthorDate: 2024-08-01 17:14:00 +0000 Commit: Alan Cox CommitDate: 2024-08-02 19:41:36 +0000 vm: Stop reducing vm_pageout_page_count at startup Attempting to reduce vm_pageout_page_count at startup when the machine has less than 8MB of physical memory is pointless, since we haven't run on machines with so little memory in ages. Reviewed by: kib, markj Differential Revision: https://reviews.freebsd.org/D46206 --- sys/vm/vm_pageout.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 8ad4bf4d3ab4..742e0afbc690 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -2305,9 +2305,6 @@ vm_pageout_init(void) /* * Initialize some paging parameters. */ - if (vm_cnt.v_page_count < 2000) - vm_pageout_page_count = 8; - freecount = 0; for (i = 0; i < vm_ndomains; i++) { struct vm_domain *vmd;