Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 15:29:01 +0100
From:      Florent Thoumie <flz@FreeBSD.org>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, Wes Peters <wes@opensail.org>, cvs-all@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: cvs commit: src/share/man/man5 rc.conf.5 src/etc/rc.d Makefile mdconfig mdconfig2
Message-ID:  <1156256941.53353.87.camel@mayday.esat.net>
In-Reply-To: <20060822181126.N27449@woozle.rinet.ru>
References:  <200608211506.k7LF6cJH001832@repoman.freebsd.org> <1DE9D506-0C4B-4CE7-8944-DC4C8AE640C7@opensail.org> <20060822094353.GB48419@xor.obsecurity.org> <20060822094426.GA48626@xor.obsecurity.org> <20060822181126.N27449@woozle.rinet.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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
flz@FreeBSD.org
FreeBSD Committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQBE6xStMxEkbVFH3PQRAkpZAJ0bqHNL3LcC6vzVnXZ7fh7W6MR8igCfV4PN
Nds5lqTMVsZevgDxwf8LANM=
=ZhMJ
-----END PGP SIGNATURE-----
help

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