summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzont <zont@FreeBSD.org>2013-07-26 02:00:06 +0000
committerzont <zont@FreeBSD.org>2013-07-26 02:00:06 +0000
commitd47da97be70ed73cd188e0039c5ccdeb27f3bb23 (patch)
treeaede5d53a6918f593a24db99a8491d9cf778d70a
parent34504eb8a950687bf141e5748ab804c903d3ed3c (diff)
downloadFreeBSD-src-d47da97be70ed73cd188e0039c5ccdeb27f3bb23.zip
FreeBSD-src-d47da97be70ed73cd188e0039c5ccdeb27f3bb23.tar.gz
Remove define and documentation for vm_pageout_algorithm missed in r253587
-rw-r--r--lib/libc/gen/sysctl.34
-rw-r--r--sys/vm/vm_param.h6
-rw-r--r--tools/tools/sysdoc/tunables.mdoc3
3 files changed, 2 insertions, 11 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index d689b7c..7d7b90a 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -735,7 +735,6 @@ privilege may change the value.
.It Sy "Second level name Type Changeable"
.It "VM_LOADAVG struct loadavg no"
.It "VM_TOTAL struct vmtotal no"
-.It "VM_PAGEOUT_ALGORITHM integer yes"
.It "VM_SWAPPING_ENABLED integer maybe"
.It "VM_V_CACHE_MAX integer yes"
.It "VM_V_CACHE_MIN integer yes"
@@ -754,9 +753,6 @@ The returned data consists of a
Return the system wide virtual memory statistics.
The returned data consists of a
.Va struct vmtotal .
-.It Li VM_PAGEOUT_ALGORITHM
-0 if the statistics-based page management algorithm is in use
-or 1 if the near-LRU algorithm is in use.
.It Li VM_SWAPPING_ENABLED
1 if process swapping is enabled or 0 if disabled.
This variable is
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h
index c404989..44306be 100644
--- a/sys/vm/vm_param.h
+++ b/sys/vm/vm_param.h
@@ -82,9 +82,8 @@
#define VM_V_CACHE_MIN 7 /* cnt.v_cache_min */
#define VM_V_CACHE_MAX 8 /* cnt.v_cache_max */
#define VM_V_PAGEOUT_FREE_MIN 9 /* cnt.v_pageout_free_min */
-#define VM_PAGEOUT_ALGORITHM 10 /* pageout algorithm */
-#define VM_SWAPPING_ENABLED 11 /* swapping enabled */
-#define VM_MAXID 12 /* number of valid vm ids */
+#define VM_SWAPPING_ENABLED 10 /* swapping enabled */
+#define VM_MAXID 11 /* number of valid vm ids */
#define CTL_VM_NAMES { \
{ 0, 0 }, \
@@ -97,7 +96,6 @@
{ "v_cache_min", CTLTYPE_UINT }, \
{ "v_cache_max", CTLTYPE_UINT }, \
{ "v_pageout_free_min", CTLTYPE_UINT}, \
- { "pageout_algorithm", CTLTYPE_INT}, \
{ "swap_enabled", CTLTYPE_INT},\
}
diff --git a/tools/tools/sysdoc/tunables.mdoc b/tools/tools/sysdoc/tunables.mdoc
index 35ef9c0..8b426e6 100644
--- a/tools/tools/sysdoc/tunables.mdoc
+++ b/tools/tools/sysdoc/tunables.mdoc
@@ -2259,9 +2259,6 @@ Displays the number of swap devices available
to the system. This is a read-only variable.
---
-vm.pageout_algorithm
-
----
vm.pageout_full_stats_interval
---
OpenPOWER on IntegriCloud