Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2004 11:04:51 -0500
From:      Andrew J Caines <A.J.Caines@halplant.com>
To:        FreeBSD Hackers <FreeBSD-Hackers@FreeBSD.org>
Subject:   malloc backed md/mfs filesystem swapped?
Message-ID:  <20040213160451.GB13347@hal9000.halplant.com>

next in thread | raw e-mail | index | archive | help
After Ring the various FMs including, but not limited to, mdmfs(8),
mdconfig(8) malloc(9), I am unclear whether of not the memory used by md
of type MD_MALLOC is kernel memory which will not be swapped, or not.

On the same subject, does the the MD_SWAP backed device simply use
swapable userland VM or does it specifically use a piece of the
(presumably) disk backed swap partition?

FYI, the relevant fstab entries for a malloc backed disk having a UFS2
with softupdates and async would look like:

md	/tmp		mfs	rw,-M,-s128m,async	2	0
md	/var/run	mfs	rw,-M,-s1m,async	2	0


-Andrew-
-- 
 _______________________________________________________________________
| -Andrew J. Caines-   Unix Systems Engineer   A.J.Caines@halplant.com  |
| "They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040213160451.GB13347>