diff options
| author | Dave Love | 2003-05-29 18:36:16 +0000 |
|---|---|---|
| committer | Dave Love | 2003-05-29 18:36:16 +0000 |
| commit | d36b182f570b08cb54ad484741379430fe874a70 (patch) | |
| tree | 444fc9434157cd50faf76a938e3292588746b067 /src/alloc.c | |
| parent | 2794f7ab8573d31ecd7623103bcb2ebd3a8cbe8f (diff) | |
| download | emacs-d36b182f570b08cb54ad484741379430fe874a70.tar.gz emacs-d36b182f570b08cb54ad484741379430fe874a70.zip | |
Comment.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 28400ff80e3..391d63691c6 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -1393,7 +1393,13 @@ allocate_string_data (s, nchars, nbytes) | |||
| 1393 | #ifdef DOUG_LEA_MALLOC | 1393 | #ifdef DOUG_LEA_MALLOC |
| 1394 | /* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed | 1394 | /* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed |
| 1395 | because mapped region contents are not preserved in | 1395 | because mapped region contents are not preserved in |
| 1396 | a dumped Emacs. */ | 1396 | a dumped Emacs. |
| 1397 | |||
| 1398 | In case you think of allowing it in a dumped Emacs at the | ||
| 1399 | cost of not being able to re-dump, there's another reason: | ||
| 1400 | mmap'ed data typically have an address towards the top of the | ||
| 1401 | address space, which won't fit into an EMACS_INT (at least on | ||
| 1402 | 32-bit systems with the current tagging scheme). --fx */ | ||
| 1397 | mallopt (M_MMAP_MAX, 0); | 1403 | mallopt (M_MMAP_MAX, 0); |
| 1398 | #endif | 1404 | #endif |
| 1399 | 1405 | ||