Where are Page tables stored
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Digital Sunset Looping
--
Chapters
00:00 Where Are Page Tables Stored
00:46 Accepted Answer Score 6
01:08 Answer 2 Score 6
01:47 Thank you
--
Full question
https://superuser.com/questions/735662/w...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #memory #operatingsystems #memorymanagement
#avk47
ACCEPTED ANSWER
Score 6
Page tables are handled by the kernel, via kernel internal data structures. But the architecture determines most of the format of those tables. Userland does not have any access to them.
ANSWER 2
Score 6
Quote from wiki - page table
It was mentioned that creating a page table structure that contained mappings for every virtual page in the virtual address space could end up being wasteful. But, we can get around the excessive space concerns by putting the page table in virtual memory, and letting the virtual memory system manage the memory for the page table.
However, part of this linear page table structure must always stay resident in physical memory, in order to prevent against circular page faults, that look for a key part of the page table that is not present in the page table, which is not present in the page table, etc.