diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-09-14 15:14:02 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-09-14 15:14:02 +0000 |
commit | b86af064c5b7b8c8c290c4193e4e59ec640e50aa (patch) | |
tree | 17ecd524726c166e34cbb0e9719c2efda612b59d /lisp/emacs-lisp | |
parent | 71a7bfa7ee076eca9de5ed9ca737e06fcf7c4bec (diff) | |
download | emacs-b86af064c5b7b8c8c290c4193e4e59ec640e50aa.tar.gz emacs-b86af064c5b7b8c8c290c4193e4e59ec640e50aa.tar.bz2 emacs-b86af064c5b7b8c8c290c4193e4e59ec640e50aa.zip |
Move allocation with mmap here, from ralloc.c. Change
conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS.
(mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed
from former r_alloc_* functions in ralloc.c.
(mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New
variables.
(MEM_ALIGN) [REL_ALLOC_MMAP]: New macro.
(mmap_init) [REL_ALLOC_MMAP]: New function.
(alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New
functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and
BUFFER_FREE.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions