skni-kod / MicrOS

32-bit operating system with kernel written in C. Created by SKNI "KOD".
GNU General Public License v3.0
56 stars 8 forks source link

Improvement for memory management #121

Open MinusPL opened 2 years ago

MinusPL commented 2 years ago

Currently MicrOS maps whole 4 MB of page directory for given process when there is more memory required, that means we're wasting alot of memory for slightly faster and maybe a little bit simpler mechanism of memory mapping and pagination. To get memory back we should consider refactoring that part of OS to properly map 4 KB pages, which will allow launching OS properly on low memory systems (like 486 with 32 MB of ram).