Why are the PAGE_SIZE and the physical page frame size different in x86_64 kernel?

Hao Lee haolee.swjtu at gmail.com
Fri Mar 30 07:21:43 EDT 2018


> Each entry in a PMD table covers 2M - and either describes a 2M
> hugepage, or is a pointer to a table of PTE entries, each of which describes a
> 4K page.
Many Thanks! This explanation helps me a lot. I didn't know 4KB and
2MB page frames can exist at the same time:)

Regards,
Hao Lee



More information about the Kernelnewbies mailing list