From owner-cvs-all@FreeBSD.ORG Tue Aug 22 14:29:20 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5063416A4DD; Tue, 22 Aug 2006 14:29:20 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 077E443D5F; Tue, 22 Aug 2006 14:29:13 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp3-g19.free.fr (Postfix) with ESMTP id 58F274946C; Tue, 22 Aug 2006 16:29:12 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 83B5711650; Tue, 22 Aug 2006 16:29:11 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41291-05; Tue, 22 Aug 2006 16:29:05 +0200 (CEST) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id C57C611413; Tue, 22 Aug 2006 16:29:03 +0200 (CEST) From: Florent Thoumie To: Dmitry Morozovsky 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-NBkek3NUz3UKzGNLnzF0" Date: Tue, 22 Aug 2006 15:29:01 +0100 Message-Id: <1156256941.53353.87.camel@mayday.esat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Wes Peters , cvs-all@freebsd.org, Kris Kennaway Subject: Re: cvs commit: src/share/man/man5 rc.conf.5 src/etc/rc.d Makefile mdconfig mdconfig2 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 14:29:20 -0000 --=-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--