git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] If NO_MMAP is defined, fake mmap() and munmap()

From
Alex Riesen <raa.lkml@gmail.com>
Date
Oct 7, 2005, 23:57 UTC
Message-ID
<20051007235735.GB14827@steel.home>
In-Reply-To
<7vwtkoyjs9.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano, Sat, Oct 08, 2005 01:44:22 +0200:
Show 7 quoted lines
> > Since some platforms do not support mmap() at all, and others do only just 
> > so, this patch introduces the option to fake mmap() and munmap() by 
> > malloc()ing and read()ing explicitely.
> 
> I guess I can just drop Alex Riesen patch and any other recent
> patches that try to work around mmap().  Happy!
> 

Me too. I was just about to make a read_cache read the whole index in (absolutely the same as Johannes, but not that elegant).

The platform(s) deserve such a treatment :)
Previous: Junio C Hamano
Message 3 of 3 in “If NO_MMAP is defined, fake mmap() and munmap()”
  1. If NO_MMAP is defined, fake mmap() and munmap()Johannes Schindelin, Oct 7, 2005
  2. Junio C HamanoOct 7, 2005
  3. Alex RiesenOct 7, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.