Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2000 12:49:09 -0700
From:      Arun Sharma <adsharma@sharmas.dhs.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        nathan@khmere.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: mremap help ? or no support for FreeBSD ? so do what ?
Message-ID:  <20000513124909.A16289@sharmas.dhs.org>
In-Reply-To: <200005131908.MAA01426@apollo.backplane.com>; from Matthew Dillon on Sat, May 13, 2000 at 12:08:35PM -0700
References:  <391D39E0.934224E4@khmere.com> <200005131546.IAA15713@sharmas.dhs.org> <200005131908.MAA01426@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 13, 2000 at 12:08:35PM -0700, Matthew Dillon wrote:
>     The linux mremap() is an idiotic system call.  Just unmap the file and
>     re-mmap it.

If you are just appending to the file, you can skip the munmap. mmap deletes
the old mappings.

	-Arun



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?20000513124909.A16289>