diff src/alloc.c @ 51318:0b5248964d32

Comment.
author Dave Love <fx@gnu.org>
date Thu, 29 May 2003 18:36:16 +0000
parents beb851c49c65
children 42f25a716cb8
line wrap: on
line diff
--- a/src/alloc.c	Thu May 29 18:18:10 2003 +0000
+++ b/src/alloc.c	Thu May 29 18:36:16 2003 +0000
@@ -1393,7 +1393,13 @@
 #ifdef DOUG_LEA_MALLOC
       /* Prevent mmap'ing the chunk.  Lisp data may not be mmap'ed
 	 because mapped region contents are not preserved in
-	 a dumped Emacs.  */
+	 a dumped Emacs.
+
+         In case you think of allowing it in a dumped Emacs at the
+         cost of not being able to re-dump, there's another reason:
+         mmap'ed data typically have an address towards the top of the
+         address space, which won't fit into an EMACS_INT (at least on
+         32-bit systems with the current tagging scheme).  --fx  */
       mallopt (M_MMAP_MAX, 0);
 #endif