Re: [PATCH v2 0/2] x86/mm/KASLR: Change the granularity of randomization to PUD size in 5-level

From: Baoquan He
Date: Fri Mar 01 2019 - 09:45:09 EST


Hi Kirill,

I updated patch per your comments. While I kept the 'paddr' variable and
the '0' initilization stuffs. My thought is there are two kinds of mapping
in the handling, so keeping these names from old codes can make it more
understandable. What do you think?

Kind Physical address Virtual address
----------------------------------------------------------------
Direct mapping paddr vaddr = paddr+PAGE_OFFSET
1:1 mapping paddr paddr

Thanks
Baoquan