Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2006 13:49:59 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Craig Boston <craig@xfoil.gank.org>, freebsd-current@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: md /tmp and async mounts
Message-ID:  <20060604174958.GA34224@xor.obsecurity.org>
In-Reply-To: <20060604050316.GE61942@gothmog.pc>
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>

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

--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 <kris@obsecurity.org> 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--



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