Looking for a pool based allocator

⚓ Rust    📅 2026-04-23    👤 surdeus    👁️ 4      

surdeus

I need some means to allocate different things from different memory pools or different heaps.

when I allocate an object - I need to allocate it from a specific region or pool of memory.

The practical example is: I have a multi-core system (not something like a QuadCore CPU - something else) - there is a big fat "quad-core ARM64" that is the main processor

But each SUB processor gets its own 64MEG region of memory - If the message is for CPU A, I need to allocate from the CPU A memory space, same for CPU B and CPU C they would allocate various structures from different pools.

How can I specify what pool a RUST struct comes from? I can manage releasing the structure thats easy.

3 posts - 3 participants

Read full topic

🏷️ Rust_feed