# HG changeset patch # User Gerd Moellmann # Date 968836729 0 # Node ID 717e7e2ca4fdbdbfb1597de93d8a10488ca0a659 # Parent 722700be186bc803e6556d25b57d2ad919e59491 Add some comments about DOUG_LEA_MALLOC's use of mmap and allocation of Lisp data. diff -r 722700be186b -r 717e7e2ca4fd src/alloc.c --- a/src/alloc.c Tue Sep 12 20:21:39 2000 +0000 +++ b/src/alloc.c Wed Sep 13 09:18:49 2000 +0000 @@ -1049,7 +1049,9 @@ size_t size = sizeof *b - sizeof (struct sdata) + needed; #ifdef DOUG_LEA_MALLOC - /* Prevent mmap'ing the chunk (which is potentially very large). */ + /* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed + because mapped region contents are not preserved in + a dumped Emacs. */ mallopt (M_MMAP_MAX, 0); #endif @@ -1838,7 +1840,9 @@ size_t nbytes; #ifdef DOUG_LEA_MALLOC - /* Prevent mmap'ing the chunk (which is potentially very large).. */ + /* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed + because mapped region contents are not preserved in + a dumped Emacs. */ mallopt (M_MMAP_MAX, 0); #endif