mm: better physical memory allocator #5

Open
opened 2025-03-19 07:26:38 +00:00 by alnyan · 0 comments
Owner

Requirements:

  • Allocations are multiples of 4KiB (the same on all platforms).
  • Needs to support contiguous allocations of N × 4KiB. N might be capped by some reasonable number, but needs to support at least 2MiB contiguous regions.
  • (Preferably) support allocations from specific sections of memory: i.e., you can tell the allocator "I want some memory between 0x10000000 and 0xF0000000", necessary for DMA
Requirements: * Allocations are multiples of 4KiB (the same on all platforms). * Needs to support contiguous allocations of N × 4KiB. N might be capped by some reasonable number, but needs to support at least 2MiB contiguous regions. * (Preferably) support allocations from specific sections of memory: i.e., you can tell the allocator "I want some memory between 0x10000000 and 0xF0000000", necessary for DMA
alnyan added this to the Kernel project 2025-03-19 07:26:39 +00:00
alnyan added the
kernel
mm
scope
kernel
labels 2025-03-19 07:34:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alnyan/zing#5