1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 23:46:14 +00:00
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
..
2020-12-19 19:08:52 -08:00
cr
2020-08-11 18:39:45 -07:00
2022-08-11 15:38:07 -07:00
2022-08-11 15:38:07 -07:00
2020-12-19 19:08:52 -08:00
2022-08-15 13:44:28 -07:00
2022-08-11 15:38:07 -07:00
2020-12-19 19:08:52 -08:00
2022-08-15 16:19:38 -07:00
2020-12-19 19:08:52 -08:00
2022-08-11 15:38:07 -07:00
2022-08-11 15:38:07 -07:00
2022-08-11 15:38:07 -07: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
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-07-20 10:18:59 -07:00
2020-12-19 19:08:52 -08:00
2022-08-11 15:38:07 -07:00
2020-12-19 19:08:52 -08:00
2022-08-14 11:44:27 -07:00
2021-01-15 16:59:32 +00:00
2020-12-19 19:08:52 -08:00
2022-08-14 13:54:24 -07:00