Originally Posted by johnsfine
Correct, but maybe you are reading more into "de-reference ... directly" than is really there (if you see some contradiction between the answers to these two distantly related questions.
Thanks for your reply. However my point was, I see in code of pud_walk and pmd_walk that first thing these functions do is convert the received physical address into a linear address. So my point is, what is the advantage of storing physical addresses, when system has to convert it to logical address to access location content.
(pud_t *)pgd_page_vaddr(*pgd) + pud_index(address);