1G writable page mapped by kernel
by erezt from LinuxQuestions.org on (#6FGFN)
Hi,
Iim using arm64 machine and checking the memory mapping entries that are fed into the MMU TLB. For some reason I keep seeing a 1G writable page mapped to the end of the physical dram. I tried to intercept this mapping on all three supported page table levels, I.e. set_pgd, set_pmd and set_pte (although I clearly see from HW signals that itis mapped on first level - pgd) but I couldnit catch any mapping like that on those functions. (BTW, I disabled hugepages but I still see this page).
Anyone has a clue from where this 1G writable page mapping could come from? And why I donit see it explicitly in the set_pgd function?
Thanks!
Iim using arm64 machine and checking the memory mapping entries that are fed into the MMU TLB. For some reason I keep seeing a 1G writable page mapped to the end of the physical dram. I tried to intercept this mapping on all three supported page table levels, I.e. set_pgd, set_pmd and set_pte (although I clearly see from HW signals that itis mapped on first level - pgd) but I couldnit catch any mapping like that on those functions. (BTW, I disabled hugepages but I still see this page).
Anyone has a clue from where this 1G writable page mapping could come from? And why I donit see it explicitly in the set_pgd function?
Thanks!