Paul Liétar
4ac3421487
Place the next pointer at a different place on every object.
...
This limits the collision in cache buckets, especially for larger objects.
2019-02-18 14:22:50 +00:00
theodus
85cf5dd097
Avoid unnecessary allocation from realloc
2019-02-02 14:47:06 -05:00
Matthew Parkinson
2083b29c9b
Remove a raw pointer usage
...
Metaslab can be handled as as ref, rather than a raw pointer.
2019-01-24 11:39:18 +00:00
Matthew Parkinson
b097b47aa2
Handle 2^16 slabs
...
This code assumes that 16bit uint wrapping can be used, rather than
masking by SLAB_SIZE-1. Add explicit mask, so we can change the
SLAB_SIZE to be smaller.
2019-01-17 14:09:50 +00:00
Matthew Parkinson
4f9d991449
Initial commit of snmalloc
...
History squashed from internal development.
Internal history has commit hash:
e27a0e485c44a5003a802de2661ce3b21e120316
2019-01-15 14:17:55 +00:00