Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 1995 09:13:56 -0500 (EST)
From:      Steve Hovey <root@buffnet.net>
To:        Terry Lambert <terry@lambert.org>
Cc:        Jukka Ukkonen <jau@jau.csc.fi>, questions@freebsd.org, hackers@freebsd.org
Subject:   Re: Any operational code using mmap() on FreeBSD ?
Message-ID:  <Pine.SCO.3.91.951207091243.28880D-100000@buffnet1.buffnet.net>
In-Reply-To: <199512061919.MAA01711@phaeton.artisoft.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


On Wed, 6 Dec 1995, Terry Lambert wrote:

> > 	Does anyone have a working example of code that uses mmap(2)
> > 	on FreeBSD? I have tried several examples that have been quite
> > 	all right on ConvexOS (10.2 and 11.0) and SunOS (4.1.[34]),
> > 	but failed quite miserably when tried on FreeBSD (2.0.5).
> > 
> > 	As I am beginning to suspect that mmap() is somehow different
> > 	on FreeBSD from what it is on Convex or Sun (or maybe it has
> > 	never really worked on FreeBSD) I would like to see a working
> > 	example, if there is any available. If there is none, I'd better
> > 	let that mmap() thing alone, and try to do something more useful.
> 
> I would (and I'm sure John and other who are actually working on this
> would!) like to see some small test cases with assertions for correct
> results for the test cases you are interested in.  Would this be possible?
> 


MMAP under freebsd 2.05-R is broken.  I run an INN news server on 2.0.5R 
and if I compiled it using MMAP, the correct values were not maintained 
in the active file.  This problems occurred when usage got to the size 
that virtual ram swapping came into play.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.SCO.3.91.951207091243.28880D-100000>