0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-15 19:07:04 +00:00
Maria Matejka 886dd92eee Slab: head now uses bitmask for used/free nodes info instead of lists
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.
2021-03-25 16:47:48 +01:00
..
2009-05-11 01:32:49 +02:00
2021-03-12 15:35:56 +01:00
2021-01-07 01:56:00 +01:00