Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2000 15:54:37 -0600 (MDT)
From:      Ronald G Minnich <rminnich@lanl.gov>
To:        FengYue <fengyue@bluerose.windmoon.nu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: anonymous memory map vs mmap on /dev/zero
Message-ID:  <Pine.LNX.4.21.0010041553430.6560-100000@mini.acl.lanl.gov>
In-Reply-To: <Pine.BSF.4.10.10010041412130.9343-100000@bluerose.windmoon.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Oct 2000, FengYue wrote:

> It seems that mmap on /dev/zero is more portable.

no really, It won't work at all correctly on linux, and on Tru64 it does
the totally wrong thing, but the (fd = -1, MAP_ANONYMOUS) does the right
thing on tru64. 

It's disappointing that this works so unportably :-(

ron



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0010041553430.6560-100000>