Is 'pgd' Attribute Physical or Virtual Address in mm_struct in Linux Kernel?

462 Views Asked by At

In Arm32 architecture(Flat Memory Model), 'pgd' attribute in mm_struct is a virtual address. If I understood correctly, however, in Arm64 architecture(Sparse Memory Model), 'pgd' attribute in mm_struct is a physical address.

Why there is such a difference between the two architecture? Why pgd in Arm64 isn't a virtual address?

Thanks for your interest.

1

There are 1 best solutions below

0
On

I misunderstood. The pgd is also stored as a virtual address in the sparse memory model.