From owner-svn-src-all@FreeBSD.ORG Tue Sep 29 11:17:21 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68590106568B; Tue, 29 Sep 2009 11:17:21 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 43C388FC14; Tue, 29 Sep 2009 11:17:21 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id CFD2C46B03; Tue, 29 Sep 2009 07:17:20 -0400 (EDT) Date: Tue, 29 Sep 2009 12:17:20 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Ruslan Ermilov In-Reply-To: <200909291050.n8TAo2eo083109@svn.freebsd.org> Message-ID: References: <200909291050.n8TAo2eo083109@svn.freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197612 - head/share/man/man7 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 11:17:21 -0000 On Tue, 29 Sep 2009, Ruslan Ermilov wrote: > Author: ru > Date: Tue Sep 29 10:50:02 2009 > New Revision: 197612 > URL: http://svn.freebsd.org/changeset/base/197612 > > Log: > Fixed markup bugs. Any chance you'll fix content bugs as well? tuning(7) is one of several man pages that desperately needs a rewrite. Robert N M Watson Computer Laboratory University of Cambridge > > Modified: > head/share/man/man7/tuning.7 > > Modified: head/share/man/man7/tuning.7 > ============================================================================== > --- head/share/man/man7/tuning.7 Tue Sep 29 09:36:38 2009 (r197611) > +++ head/share/man/man7/tuning.7 Tue Sep 29 10:50:02 2009 (r197612) > @@ -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 >