]> git.eshelyaron.com Git - emacs.git/commit
Move allocation with mmap here, from ralloc.c. Change
authorGerd Moellmann <gerd@gnu.org>
Thu, 14 Sep 2000 15:14:02 +0000 (15:14 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 14 Sep 2000 15:14:02 +0000 (15:14 +0000)
commitb86af064c5b7b8c8c290c4193e4e59ec640e50aa
tree17ecd524726c166e34cbb0e9719c2efda612b59d
parent71a7bfa7ee076eca9de5ed9ca737e06fcf7c4bec
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.
src/buffer.c