Nick Briggs
2b270e6697
Use mmap() in place of posix_memalign() to allocate Lisp memory
...
posix_memalign() does not guarantee initializing the allocated
memory to zero, which Lisp expects, so the code must memset() the
entire allocated region to zero. The effect of this is (generally) to
force the allocation of RAM to the process, which is wasteful, since
we normally start with only 4% of 256 MB in use for a full.sysout.
Allocating memory with mmap, using MAP_ANON, guarantees that the
memory is already zeroed (effectively mapping /dev/zero with copy-on-write)
so it is not necessary to touch it before use. This keeps the
pre-allocated RAM to a minimum.
2022-08-31 12:42:39 -07:00
..
2022-08-15 15:04:07 -07:00
2022-08-13 16:04:58 -07:00
2022-08-10 12:54:06 -07:00
2020-12-19 19:08:52 -08:00
2022-08-15 15:04:07 -07:00
2015-04-20 18:53:52 -07:00
2020-08-11 18:39:45 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2015-04-20 18:53:52 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 14:50:59 -07:00
2020-12-22 22:56:54 -08:00
2021-01-13 23:08:35 -08:00
2021-01-13 23:08:35 -08:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2020-08-11 18:39:45 -07:00
2022-08-11 15:38:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-11 15:38:07 -07:00
2020-12-19 19:08:52 -08:00
2021-01-13 23:08:35 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 13:44:28 -07:00
2021-01-24 16:39:32 -08:00
2022-08-11 15:38:07 -07:00
2021-01-29 23:18:09 -08:00
2022-08-15 15:04:07 -07:00
2020-12-19 19:08:52 -08:00
2022-08-15 16:19:38 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2020-12-28 00:18:41 -08:00
2020-12-19 19:08:52 -08:00
2022-08-11 15:38:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-11 15:38:07 -07:00
2022-08-11 15:38:07 -07:00
2022-08-15 15:04:07 -07:00
2021-03-29 12:34:32 -07:00
2021-08-10 16:31:59 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2020-08-11 18:39:45 -07:00
2022-08-13 09:11:58 -07:00
2021-10-29 09:52:51 -07:00
2022-08-31 12:42:39 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2022-08-15 15:04:07 -07:00
2020-12-19 19:08:52 -08:00
2021-01-13 23:08:35 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2020-12-19 19:08:52 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-07-20 10:18:59 -07:00
2021-02-14 16:47:04 -08:00
2022-08-14 21:43:48 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2021-02-01 06:42:39 +00:00
2022-08-10 11:07:57 -07:00
2021-02-14 16:47:04 -08:00
2022-08-15 15:04:07 -07:00
2020-12-22 22:56:54 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 16:18:37 -07:00
2022-08-15 15:04:07 -07:00
2020-12-19 19:08:52 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-14 12:50:16 -07:00
2022-08-03 09:59:08 -07:00
2022-08-10 11:07:57 -07:00
2022-08-11 15:38:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-13 09:11:58 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2020-12-19 19:08:52 -08:00
2022-08-14 11:44:27 -07:00
2022-08-15 15:04:07 -07:00
2021-01-15 16:59:32 +00:00
2020-12-19 19:08:52 -08:00
2021-01-13 23:08:35 -08:00
2022-08-14 13:54:24 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00