*BSD News Article 94111


Return to BSD News archive

From: dillon@flea.best.net (Matt Dillon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Q: mmap() in 2.2.0R and 2.2.1R
Date: 21 Apr 1997 12:12:53 -0700
Organization: BEST Internet Communications, Inc.
Lines: 22
Message-ID: <5jge7l$lof@flea.best.net>
References: <01bc4e2a$436ad8c0$f3e94dc2@hugo09.ticsoft.de>
NNTP-Posting-Host: flea.best.net
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!news.flex.com!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!news1.best.com!nntp1.ba.best.com!not-for-mail
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39490

:In article <01bc4e2a$436ad8c0$f3e94dc2@hugo09.ticsoft.de>,
:Patrick M. Hausen <hausen@punkt.de> wrote:
:>Hi all!
:>
:..
:>
:>Now, is this due to the "minor flaws" in the Adaptec
:>driver, that some people reoprted for 2.2.0R?
:>Is it safe to use mmap() with 2.2.1?
:>
:>
:>Thanks,
:>Patrick

    I would avoid shared read+write mmap()s.  I always get random
    panics when I use them, but can never reproduce it under controlled
    circumstances to get a useable kernel core.  It's real annoying.

    shared read-only maps are ok, and private read+write maps should be ok.

					-Matt