diff options
author | alc <alc@FreeBSD.org> | 2004-07-12 17:45:37 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-07-12 17:45:37 +0000 |
commit | f591650a79470d800f78cde77021527bbc7596e0 (patch) | |
tree | 091e0ee0c9847c83e9f1d8e4018c93e96ce73e4e /sys/vm | |
parent | 8e8f80bd23b814fd62dfaa9cad441cee760e63d3 (diff) | |
download | FreeBSD-src-f591650a79470d800f78cde77021527bbc7596e0.zip FreeBSD-src-f591650a79470d800f78cde77021527bbc7596e0.tar.gz |
Remove an unused and unimplemented sysctl. (For the record, it was marked
as unimplemented in revision 1.129 nearly six years ago.)
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_pageout.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 111c0f9..bb448a9 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -148,7 +148,7 @@ static int vm_daemon_needed; static int vm_max_launder = 32; static int vm_pageout_stats_max=0, vm_pageout_stats_interval = 0; static int vm_pageout_full_stats_interval = 0; -static int vm_pageout_stats_free_max=0, vm_pageout_algorithm=0; +static int vm_pageout_algorithm=0; static int defer_swap_pageouts=0; static int disable_swap_pageouts=0; @@ -175,9 +175,6 @@ SYSCTL_INT(_vm, OID_AUTO, pageout_full_stats_interval, SYSCTL_INT(_vm, OID_AUTO, pageout_stats_interval, CTLFLAG_RW, &vm_pageout_stats_interval, 0, "Interval for partial stats scan"); -SYSCTL_INT(_vm, OID_AUTO, pageout_stats_free_max, - CTLFLAG_RW, &vm_pageout_stats_free_max, 0, "Not implemented"); - #if defined(NO_SWAPPING) SYSCTL_INT(_vm, VM_SWAPPING_ENABLED, swap_enabled, CTLFLAG_RD, &vm_swap_enabled, 0, ""); @@ -1390,12 +1387,6 @@ vm_pageout() if (vm_pageout_full_stats_interval == 0) vm_pageout_full_stats_interval = vm_pageout_stats_interval * 4; - /* - * Set maximum free per pass - */ - if (vm_pageout_stats_free_max == 0) - vm_pageout_stats_free_max = 5; - swap_pager_swap_init(); pass = 0; /* |