From owner-freebsd-current@FreeBSD.ORG Sun Jun 4 17:50:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E21C16AB62 for ; Sun, 4 Jun 2006 17:50:00 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0621143D49 for ; Sun, 4 Jun 2006 17:50:00 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D9F791A3C1F; Sun, 4 Jun 2006 10:49:59 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3817151211; Sun, 4 Jun 2006 13:49:59 -0400 (EDT) Date: Sun, 4 Jun 2006 13:49:59 -0400 From: Kris Kennaway To: Giorgos Keramidas Message-ID: <20060604174958.GA34224@xor.obsecurity.org> References: <20060523194106.GA46634@xor.obsecurity.org> <20060524203645.GB13500@gothmog.pc> <20060524203747.GA88742@xor.obsecurity.org> <20060524204617.GA13701@gothmog.pc> <20060601002024.GA1453@gothmog.pc> <20060601210655.GA36389@xor.obsecurity.org> <20060601213527.GA53422@gothmog.pc> <20060602215005.GA43170@nowhere> <20060602220724.GA71883@xor.obsecurity.org> <20060604050316.GE61942@gothmog.pc> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <20060604050316.GE61942@gothmog.pc> User-Agent: Mutt/1.4.2.1i Cc: Craig Boston , freebsd-current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 17:50:30 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 04, 2006 at 08:03:16AM +0300, Giorgos Keramidas wrote: > On 2006-06-02 18:07, Kris Kennaway wrote: > >On Fri, Jun 02, 2006 at 04:50:06PM -0500, Craig Boston wrote: > >>On Fri, Jun 02, 2006 at 12:35:27AM +0300, Giorgos Keramidas wrote: > >>> Ok, I'll prepare a patch that enables async and disables -M. We > >>> should also document the fact that tmpmfs=3D"YES" and varmfs=3D"YES" > >>> in rc.conf may require the presence of at least one swap device > >>> by default, and point the users to -M with a warning if they run > >>> FreeBSD without a swap device but still want to use tmpmfs or > >>> varmfs :) > >> > >> I may be mistaken, but from my (brief) reading of the code it seems > >> to me that perhaps "swap-backed" isn't an entirely accurate term. > >> More like "VM-backed", with the understanding that VM is (usually) > >> backed by swap. > >> > >> I think if you don't have any swap configured, a swap-backed md > >> will be no worse off than a memory-backed one would. > > > > Yeah, it's kind of a poorly chosen name. >=20 > Should we still revert the default from using -M for tmpmfs=3D"YES" and > varmfs=3D"YES" in rc.conf? Someone should test it in a situation without swap configured (including what is the failure mode when you run out of memory - probably a panic again), but it "should" be fine (i.e. behaves the same or better than malloc in all situations). Kris --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEgx1GWry0BWjoQKURAgolAJ0XauOaQf84EoQg4xKKm4pacgl0JACgrnMv 9ZWmSNxK0zhzWu7bEOJPDUk= =PhOg -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--