diff options
author | ru <ru@FreeBSD.org> | 2009-09-29 10:50:02 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2009-09-29 10:50:02 +0000 |
commit | 56606ddda10a0c7ec87a4bde79c3e949fcbc82f3 (patch) | |
tree | ce77b6a0aa86e484824a2aac33aa42a83afd391e /share/man/man7 | |
parent | c71d3f7c6ea3aec3504aa96c9b97b9510904f4f2 (diff) | |
download | FreeBSD-src-56606ddda10a0c7ec87a4bde79c3e949fcbc82f3.zip FreeBSD-src-56606ddda10a0c7ec87a4bde79c3e949fcbc82f3.tar.gz |
Fixed markup bugs.
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/tuning.7 | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/share/man/man7/tuning.7 b/share/man/man7/tuning.7 index 34c8ac3..a87df57 100644 --- a/share/man/man7/tuning.7 +++ b/share/man/man7/tuning.7 @@ -407,22 +407,27 @@ The .Va vm.overcommit sysctl defines the overcommit behaviour of the vm subsystem. The virtual memory system always does accounting of the swap space -reservation, both total for system and per-user. Corresponding values +reservation, both total for system and per-user. +Corresponding values are available through sysctl -.Va vm.swap_total, +.Va vm.swap_total , that gives the total bytes available for swapping, and -.Va vm.swap_reserved, +.Va vm.swap_reserved , that gives number of bytes that may be needed to back all currently allocated anonymous memory. .Pp Setting bit 0 of the .Va vm.overcommit sysctl causes the virtual memory system to return failure -to the process when allocation of memory causes vm.swap_reserved -to exceed vm.swap_total. -Bit 1 of the sysctl enforces RLIMIT_SWAP limit +to the process when allocation of memory causes +.Va vm.swap_reserved +to exceed +.Va vm.swap_total . +Bit 1 of the sysctl enforces +.Dv RLIMIT_SWAP +limit (see -.Xr getrlimit 2 ). +.Xr getrlimit 2 ) . Root is exempt from this limit. Bit 2 allows to count most of the physical memory as allocatable, except wired and free reserved pages |