snmalloc icon indicating copy to clipboard operation
snmalloc copied to clipboard

Message passing based allocator

Results 86 snmalloc issues
Sort by recently updated
recently updated
newest added

Implemenation of a range that gradually releases memory back to the OS. It quickly pulls memory, but the dealloc_range locally caches the memory and uses Pal timers to release it...

I think there are two points to improve in current cmpxchg support for 16 byte data structures: - consider arm lse - consider using `__sync_bool_compare_and_swap` to force gcc emit inlined...

enhancement

In current implementation, `alloc` expects small allocations are more likely, which is likely true for most cases, and puts small allocations in the fast path. However, in some scenario, the...

This wraps our memcpy with some assumptions that let the optimiser know that we're copying chunks that are strongly aligned. With clang 13 on x86, this generates three variants: -...

The old problem was addressed by introducing new way to register clean-up callbacks. However, there are still some works to do. Signed-off-by: Schrodinger ZHU Yifan

first step: templatization of PALs, type not triggered yet.

export FFIs to enable snmalloc being used as a separate allocator https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html

This is reported by one of my friends (@misakikasumi). In his application, he used snmalloc to manage 16bit 1080P frame buffers, which takes 1/4 of the medium sized slab. Based...