Core: Memory Allocator Optimizations & Hardening #39

Closed
opened 2026-03-04 10:55:03 +00:00 by t3hn3rd · 1 comment
Owner

The current memory allocator implementation, especially the heap is inefficient & unsafe - this issue proposes the following:

  • A rewrite that targets a bitmap focused approach with hints in all layers of the memory allocation stack.
  • Fix missing free (klfree/page free) implementations.
  • Hardening in the way of zeroing provided memory, guarding allocation borders, interrupt safety.
  • OOM support & propagation.
  • 16 byte alignment as a first class citizen to target SSE MOVAPS & other aligned instructions.
  • Better observability providing the ability to query memory usage.
The current memory allocator implementation, especially the heap is inefficient & unsafe - this issue proposes the following: - A rewrite that targets a bitmap focused approach with hints in all layers of the memory allocation stack. - Fix missing free (klfree/page free) implementations. - Hardening in the way of zeroing provided memory, guarding allocation borders, interrupt safety. - OOM support & propagation. - 16 byte alignment as a first class citizen to target SSE MOVAPS & other aligned instructions. - Better observability providing the ability to query memory usage.
t3hn3rd added this to the 2.0.0 milestone 2026-03-04 10:55:03 +00:00
t3hn3rd added the Improvement
Component
Allocator
labels 2026-03-04 10:55:03 +00:00
t3hn3rd self-assigned this 2026-03-04 10:55:03 +00:00
t3hn3rd added this to the Asuro Release Planning project 2026-03-04 10:55:03 +00:00
t3hn3rd moved this to In Progress in Asuro Release Planning on 2026-03-04 10:55:13 +00:00
t3hn3rd moved this to Develop Testing in Asuro Release Planning on 2026-03-04 19:59:01 +00:00
admin moved this to Done in Asuro Release Planning on 2026-03-08 21:48:24 +00:00
Owner

Resolved by merged feature: feature/memory-allocation-optimization

Resolved by merged feature: feature/memory-allocation-optimization
admin closed this issue 2026-03-08 21:48:42 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Spexeah/Asuro#39