NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55166: uvm_pdpolicy_clock params (anon/exec/file max/min)defaults
The following reply was made to PR kern/55166; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: thorpej%me.com@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/55166: uvm_pdpolicy_clock params (anon/exec/file max/min)defaults
Date: Mon, 13 Apr 2020 01:21:41 +0900
> > Replace these immediate default values with proper macro
> > as existing CLOCK_INACTIVEPCT:
>
> If these macros are going to be visible outside of uvm_pdpolicy_clock.c,
> they need to have a prefix on them, e.g. PDPOLICY_CLOCK_INACTIVEPCT.
Are you suggesting existing CLOCK_INACTIVEPCT should also be changed?
(maybe it's okay because it is not mentioned in options(4) though)
Note these parameters are also in sysctl(9) but without "pdpolicy_clock":
---
% sysctl vm
:
vm.anonmin = 10
vm.filemin = 5
vm.execmin = 30
vm.anonmax = 60
vm.filemax = 20
vm.execmax = 50
vm.inactivepct = 33
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index