You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the page map contains an entry for each page from address 0 to the end of RAM as reported by multiboot. This can potentially waste large amounts of space in the event of a memory gap.
e.g. A system with 1G of memory could have 1M-768M as usable RAM, reserve addresses 768M-1024M, and continue usable RAM from 1024M to 1280M. The gap in between 768M-1024M is not valid memory, but the page map will still contain entries for all pages in this range, marked as reserved. These entries serve no purpose, only wasting memory which could be used elsewhere.
The page map should be modified to not create entries for unusable memory addresses. However, this needs to be done in such a way that address to page struct lookups still run in constant time as the efficiency of this operation is essential.
The text was updated successfully, but these errors were encountered:
Currently, the page map contains an entry for each page from address 0 to the end of RAM as reported by multiboot. This can potentially waste large amounts of space in the event of a memory gap.
e.g. A system with 1G of memory could have 1M-768M as usable RAM, reserve addresses 768M-1024M, and continue usable RAM from 1024M to 1280M. The gap in between 768M-1024M is not valid memory, but the page map will still contain entries for all pages in this range, marked as reserved. These entries serve no purpose, only wasting memory which could be used elsewhere.
The page map should be modified to not create entries for unusable memory addresses. However, this needs to be done in such a way that address to page struct lookups still run in constant time as the efficiency of this operation is essential.
The text was updated successfully, but these errors were encountered: