Browse Source

Show (in the example) that < and > can be used multiple times; ok jmc@

jasper@
OPENBSD_5_0
otto 13 years ago
parent
commit
10c1e27ddb
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      src/lib/libc/stdlib/malloc.3

+ 5
- 4
src/lib/libc/stdlib/malloc.3 View File

@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: malloc.3,v 1.69 2011/07/21 20:34:32 jasper Exp $
.\" $OpenBSD: malloc.3,v 1.70 2011/07/22 07:00:44 otto Exp $
.\" .\"
.Dd $Mdocdate: July 21 2011 $
.Dd $Mdocdate: July 22 2011 $
.Dt MALLOC 3 .Dt MALLOC 3
.Os .Os
.Sh NAME .Sh NAME
@ -302,8 +302,9 @@ Decrease the size of the free page cache by a factor of two.
Increase the size of the free page cache by a factor of two. Increase the size of the free page cache by a factor of two.
.El .El
.Pp .Pp
So to set a systemwide reduction of cache size and use guard pages:
.Dl # ln -s 'G\*(Lt' /etc/malloc.conf
So to set a systemwide reduction of the cache to a quarter of the
default size and use guard pages:
.Dl # ln -s 'G\*(Lt\*(Lt' /etc/malloc.conf
.Pp .Pp
The flags are mostly for testing and debugging. The flags are mostly for testing and debugging.
If a program changes behavior if any of these options (except If a program changes behavior if any of these options (except


Loading…
Cancel
Save