From: Martin Str|mberg Message-Id: <200005082100.XAA11742@father.ludd.luth.se> Subject: Re: Perfomance of gc-simple In-Reply-To: from Eli Zaretskii at "May 8, 2000 02:35:55 pm" To: djgpp-workers AT delorie DOT com Date: Mon, 8 May 2000 23:00:41 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk According to Eli Zaretskii: > On Mon, 8 May 2000, Martin Stromberg wrote: > > Hey, this means we can support mmap( ..., PROT_READ, ... ), > > i. e. read-only mmap()! > > In principle, yes. However, before we put mmap into the library, I think > Someone (tm) should look at several GNU packages which use mmap and > verify that our minimal implementation will do what those packages > expect. Since the availability of mmap is checked by the configure > script by linking a program, and since GNU packages I've seen always > prefer to use mmap if it is found, if we put mmap into the library for > GCC, we had better made sure it doesn't bite us elsewhere. Ok, I have hacked together the mmap() function. Do you have any mmap intensive code to suggest I try it out on? Right, MartinS