git: f6ed52c1f010 - main - vm: Stop reducing vm_pageout_page_count at startup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Aug 2024 19:42:47 UTC
The branch main has been updated by alc:
URL: https://cgit.FreeBSD.org/src/commit/?id=f6ed52c1f010aca5083e9c4dd3d0ad15aa8230a2
commit f6ed52c1f010aca5083e9c4dd3d0ad15aa8230a2
Author: Alan Cox <alc@FreeBSD.org>
AuthorDate: 2024-08-01 17:14:00 +0000
Commit: Alan Cox <alc@FreeBSD.org>
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;