4 ms·
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 pr
by benmmurphy 2mo 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#L1975 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/pgtable.c#L21 https://github.com/torvalds/linux/blob/master/arch/x86/mm/pg...