Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Wack63115yIsn't the solution to reserve some space to point to a different table, which itself contains pointers to page tables?
-
@Wack Good question, not quite sure. Because physical memory fragmentation doesn't matter I think the best solution is to allocate another page on the fly instead of reserving
Now that I'm thinking about it the page table only contains physical addresses so it's quite trivial: Traverse the page table to the target address down to t0, allocating a new page table if it doesn't exist
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo35My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
A full 4 level page table on x86_64 is over around 687 GB in size. Allocating it fixed size obviously won't work...
So now when allocating virtual memory pages for an address space I sooner or later have to allocate one page to hold a new page table... which has to be referenced by the global page table for me to use... where there isn't any more space... which is exactly the reason we allocated a new page in the first place... so I'm fucked basically
rant
allocator
fml
memory
virtual
x86
os
page