On Tue, 2006-08-22 at 18:16 +0400, Dmitry Morozovsky wrote: > On Tue, 22 Aug 2006, Kris Kennaway wrote: > > KK> > > > Use should be as easy as: > KK> > > > > KK> > > > mdconfig_md0="-t malloc -s 10m" > KK> > > KK> > We should consider adding "-o reserve" to malloc-backed md creation > KK> > where applicable (e.g. the md-backed /tmp creation) to avoid bogus PRs > KK> > from people who run their kernels out of memory by filling up /tmp. > KK> > KK> Oops, I forgot they were already (correctly) fixed to use swap backing > KK> (I think). > > Not yet, the default is still -M. I had a patch for this, based on > vm.nswapdev > value, to use malloc-backed md only on swapless machines:
I don't know if it's correct, but rc.d/mdconfig{,2} don't use the
mount_md() subroutine in rc.subr. So, in this case, it's pointless.
--
Florent Thoumie
[EMAIL PROTECTED]
FreeBSD Committer
signature.asc
Description: This is a digitally signed message part
