Re:Snmalloc: A Message Passing Allocator
by vardump on Wednesday October 11, 2023 @08:20PM
(#37852067)
Specialized allocators can provide huge performance boost and sometimes even be enablers.
I once wrote a very simple allocator that could allocate within an x86 IRQ. The catch is it was a slot system with only 32 possible slots, all same size. But it was good enough for my purposes, as memory allocation in an IRQ is otherwise nearly impossible.
I'm definitely going to include snmalloc in my allocator toolbag. :-)
I once wrote a very simple allocator that could allocate within an x86 IRQ. The catch is it was a slot system with only 32 possible slots, all same size. But it was good enough for my purposes, as memory allocation in an IRQ is otherwise nearly impossible.
I'm definitely going to include snmalloc in my allocator toolbag. :-)