CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/02/25 08:20:18
Modified files:
lib/libc/stdlib: malloc.3 malloc.c
Log message:
- Make use of the fact that we know how the chunks are aligned, and
write 8 bytes at the time by using a uint64_t pointer. For an
allocation a max of 4 such uint64_t's are written spread over the
allocation. For pages sized and larger, the first page is junked in
such a way.
- Delayed free of a small chunk checks the corresponiding way.
- Pages ending up in the cache are validated upon unmapping or re-use.
In snaps for a while