galloc
galloc copied to clipboard
Is the Allocator usable with demand Paging or does it scatter control/data structures throuout the entire heap area on init?
#![no_std] #![no_main] #![feature(allocator_api)] pub static SPINALLOCATOR: Allocator = Allocator::empty(); This single line of code throw multiple instances of the following error: "shared static variables must have a type that implements...
It would be nice to be able to obtain some information on the allocator during runtime: - how many bytes are currently allocated? - how many bytes can still be...
I'm trying to use galloc on a 32bit arm microcontroller. When initializing, the library panicked at 'attempt to subtract with overflow' [at this line](https://github.com/MaderNoob/galloc/blob/7e0358e399d102f9482996f2e13b3e702d9f72a6/src/bins.rs#LL129C35-L129C35). I did some debugging and I...
I hit a bus fault when switching a library from https://github.com/rust-embedded/embedded-alloc/issues/36. I don't have any bus errors when running the Heap from embedded-alloc based on the linked_list_allocator. Running on ZephyrRTOS...
When realloc in place fails, we alloc, copy memory, and only then dealloc (so that memory doesn't get overwritten before we copy it). But this may cause a false negative...