malloc backed md/mfs filesystem swapped?

Andrew J Caines A.J.Caines at halplant.com
Fri Feb 13 08:04:53 PST 2004


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 at halplant.com  |
| "They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |


More information about the freebsd-hackers mailing list