|
|
@ -30,9 +30,9 @@ |
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
|
.\" 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 |
|
|
|
.Os |
|
|
|
.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. |
|
|
|
.El |
|
|
|
.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 |
|
|
|
The flags are mostly for testing and debugging. |
|
|
|
If a program changes behavior if any of these options (except |
|
|
|