Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2012 18:25:59 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Subject:   mmap() issues in 8.3-PRE
Message-ID:  <20120313012559.GE1440@albert.catwhisker.org>

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

--N1GIdlSm9i+YlY4t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

At work, a colleague has been researching some problems we encountered in
8.2-R; he found that some commits made to stable/8 since 8.2 was
released has changed the behavior, but that there are still some issues.

He has filed 3 PRs (yesterday) for different aspects of what he's seen:

kern/165923: Writing to NFS-backed mmapped files fails if flushed automatic=
ally=20
kern/165927: msync reports success after a failed pager flush=20
docs/165929: msync(2) man page indicates obsolescence, but it's useful

Here are the links (to make things a bit easier:

<http://www.freebsd.org/cgi/query-pr.cgi?pr=3D165923&cat=3D>;
<http://www.freebsd.org/cgi/query-pr.cgi?pr=3D165927&cat=3D>;
<http://www.freebsd.org/cgi/query-pr.cgi?pr=3D165929&cat=3D>;

The basic result is that attempts to write to an mmap()ed file may fail
silently.

If it turns out that his analysis is incorrect, we would sure like to
know about it.  On the other hand, if the analysis is (largely) correct,
folks may want to be thinkng about whether 8.3 should be released with
the behavior in question, whether it should be documented via Errata, or
whether we should try to fix the problem before 8.3 is released.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--N1GIdlSm9i+YlY4t
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk9eoiYACgkQmprOCmdXAD0NZACfbOzO5MtBK9IygY62pW5gNQ9g
SS0AnA6s//pTUnCpUOrqXAdgTOYsmDsq
=rpX5
-----END PGP SIGNATURE-----

--N1GIdlSm9i+YlY4t--



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