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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-NBkek3NUz3UKzGNLnzF0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-08-22 at 18:16 +0400, Dmitry Morozovsky wrote: > On Tue, 22 Aug 2006, Kris Kennaway wrote: >=20 > KK> > > > Use should be as easy as: > KK> > > > > KK> > > > mdconfig_md0=3D"-t malloc -s 10m" > KK> >=20 > 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>=20 > KK> Oops, I forgot they were already (correctly) fixed to use swap backin= g > KK> (I think). >=20 > Not yet, the default is still -M. I had a patch for this, based on vm.ns= wapdev=20 > 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. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-NBkek3NUz3UKzGNLnzF0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBE6xStMxEkbVFH3PQRAkpZAJ0bqHNL3LcC6vzVnXZ7fh7W6MR8igCfV4PN Nds5lqTMVsZevgDxwf8LANM= =ZhMJ -----END PGP SIGNATURE----- --=-NBkek3NUz3UKzGNLnzF0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1156256941.53353.87.camel>