From d18e01346c78e9d8e78a0c08e3738253eae329dc Mon Sep 17 00:00:00 2001 From: Remko Lodder Date: Wed, 28 Nov 2007 12:11:36 +0000 Subject: Sync with md(4)'s information regarding the swap backend. PR: docs/115721 Submitted by: Stefan Lambrev MFC After: 3 days --- sbin/mdconfig/mdconfig.8 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sbin/mdconfig/mdconfig.8 b/sbin/mdconfig/mdconfig.8 index 94559a68f4d8..fd7de3d0c09d 100644 --- a/sbin/mdconfig/mdconfig.8 +++ b/sbin/mdconfig/mdconfig.8 @@ -41,7 +41,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 11, 2007 +.Dd November 28, 2007 .Dt MDCONFIG 8 .Os .Sh NAME @@ -98,7 +98,14 @@ A file specified with .Fl f Ar file becomes the backing store for this memory disk. .It Cm swap -Swap space is used to back this memory disk. +Storage for this type of memory disk is allocated from buffer +memory. Pages get pushed out to the swap when the system is +under memory pressure, otherwise they stay in the operating +emory. Using +.Cm swap +backing is generally preferable over +.Cm malloc +backing. .El .It Fl f Ar file Filename to use for the vnode type memory disk. Options -- cgit v1.2.3