Ondřej Surý
f487c6948b
Replace locked mempools with memory contexts
...
Current mempools are kind of hybrid structures - they serve two
purposes:
1. mempool with a lock is basically static sized allocator with
pre-allocated free items
2. mempool without a lock is a doubly-linked list of preallocated items
The first kind of usage could be easily replaced with jemalloc small
sized arena objects and thread-local caches.
The second usage not-so-much and we need to keep this (in
libdns:message.c) for performance reasons.
2021-07-09 15:58:02 +02:00
..
2021-07-09 15:58:02 +02:00
2021-07-09 15:58:02 +02:00
2021-07-09 15:58:02 +02:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-05-07 10:19:05 -07:00
2021-05-26 09:43:12 +02:00
2021-06-09 14:35:14 +02:00
2021-05-27 08:02:21 +02:00
2021-07-06 05:33:48 +00:00
2021-07-09 15:58:02 +02:00
2021-05-07 14:28:30 -07:00
2021-07-09 15:58:02 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-05-07 14:28:30 -07:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-05-17 11:59:19 +02:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-05-07 14:28:30 -07:00
2021-07-06 05:33:48 +00:00
2021-04-20 23:22:28 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-05-07 10:19:05 -07:00
2021-07-06 05:33:48 +00:00
2021-07-09 15:58:02 +02:00
2021-05-05 19:15:33 +02:00
2021-06-09 14:35:14 +02:00
2021-07-09 15:58:02 +02:00