PoisonNinja / mint

A simple, fast, and modern kernel
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Remove dependency on physical linear mapping #4

Closed PoisonNinja closed 7 years ago

PoisonNinja commented 7 years ago

Currently, the way that the physical memory manager works, it literally writes to the block of memory. This is bad because on 32-bit systems, we don't have enough address space to map all the physical memory. Linux, which does this, resorts to some pretty ugly hacks (high, low memory), and that's pretty bad.

The goal of this is to rewrite the memory manager so that it no longer needs a linear mapping of all the physical memory. This means that the buddy system will need to be rewritten, PHYS_START can no longer be used, and kmalloc needs to be rewritten to be an actual heap manager.

PoisonNinja commented 7 years ago

Use the mm-next branch to track progress on this ticket.