0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-04-26 00:44:38 +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
..
2017-02-20 02:26:45 +01:00
2020-05-01 15:19:12 +02:00
2015-11-05 12:48:52 +01:00
2017-03-09 13:47:00 +01:00
2015-06-08 02:24:08 +02:00
2015-06-08 02:24:08 +02:00
2021-03-12 15:35:56 +01:00
2021-03-12 15:35:56 +01:00
2015-05-01 14:40:56 +02:00
2020-03-03 19:04:33 +01:00
2013-09-16 23:57:40 +02:00
2016-11-08 19:27:58 +01:00
2019-11-03 22:25:44 +01:00
2016-12-07 14:20:52 +01:00
2016-11-03 09:53:53 +01:00
2019-11-26 18:39:02 +01:00
2017-12-13 15:27:33 +01:00
2015-11-24 13:52:26 +01:00
2016-11-09 16:36:34 +01:00
2014-06-26 11:58:57 +02:00
2020-04-09 15:37:14 +02:00
2020-04-28 16:21:06 +02:00
2017-12-07 13:53:42 +01:00
2020-05-01 15:19:12 +02:00
2020-04-09 15:37:14 +02:00
2018-11-20 17:45:35 +01:00
2015-06-08 02:24:08 +02:00