Hacker News new | ask | show | jobs
by benmmurphy 8 hours ago
Looking at the function the addr value should always equal end but also it looks like on x86 this value is discarded in pte_free_tlb so maybe this is not the problem or I’m looking at a different version.

https://github.com/torvalds/linux/blob/master/mm/memory.c#L1...

Assuming addr is a virtual address it probably makes sense that pte_free_tlb does not need it.

https://github.com/torvalds/linux/blob/master/arch/x86/mm/pg...