From owner-freebsd-hackers Sat May 13 12:49:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id 7D23B37B801 for ; Sat, 13 May 2000 12:49:32 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id MAA16297; Sat, 13 May 2000 12:49:09 -0700 Date: Sat, 13 May 2000 12:49:09 -0700 From: Arun Sharma To: Matthew Dillon 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> References: <391D39E0.934224E4@khmere.com> <200005131546.IAA15713@sharmas.dhs.org> <200005131908.MAA01426@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <200005131908.MAA01426@apollo.backplane.com>; from Matthew Dillon on Sat, May 13, 2000 at 12:08:35PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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