Linux paging sturcture

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Nov 15 6:9
Editor
Edited
Edited
2023 Nov 22 7:37
Refs
Refs
Register

Page directory’s base address

Four-level paging for future hardware which has many three level to mapping to hardware in linux. (scalability, extensibility). 64bit usually use 3 level paging and 128 is might maximum for the future
notion image
notion image
The physical address of the Page Directory in use is stored in the
mm_struct.pgd
(cr3 register when intel)
Each process has its own Page Global Directory and its own set of Page Tables.
Four-level paging model mapping to two-level paging hardware like
Intel Page directory
.
 

Page allocation

notion image
notion image
 
 

HAL
for page entry table

notion image
notion image
notion image
notion image
 
 
 
 
 

Recommendations