Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-09 | Fixed a static assert in page allocator | Maria Matejka | |
2022-03-09 | Fixed resource initialization in unit tests | Maria Matejka | |
2022-03-09 | Single-threaded version of sark-branch memory page management | Maria Matejka | |
2022-02-08 | Alloc: Use posix_memalign() instead of aligned_alloc() | Ondrej Zajicek (work) | |
For compatibility with older systems use posix_memalign(). We can switch to aligned_alloc() when we commit to C11 for multithreading. | |||
2021-11-24 | Directly mapped pages are kept for future use if temporarily not needed | Maria Matejka | |
2021-03-25 | Slab: head now uses bitmask for used/free nodes info instead of lists | Maria Matejka | |
From now, there are no auxiliary pointers stored in the free slab nodes. This led to strange debugging problems if use-after-free happened in slab-allocated structures, especially if the structure's first member is a next pointer. This also reduces the memory needed by 1 pointer per allocated object. OTOH, we now rely on pages being aligned to their size's multiple, which is quite common anyway. |