Re: [PATCH] MIPS: mm: Only uniquify on CPU cores where it's needed

From: Maciej W. Rozycki
Date: Tue Nov 11 2025 - 01:27:09 EST


On Mon, 10 Nov 2025, Maciej W. Rozycki wrote:

> Perhaps we should take the simplest approach: read all the TLB entries
> with TLBR, sort them by their VPN value and deduplicate to be able to
> search for a match quickly, assign and write temporary VPN values outside
> our unique range avoiding a clash with any of the values obtained, and
> then finally call local_tlb_flush_all().

And now implemented; no deduplication needed after all. Cf.
<https://lore.kernel.org/linux-mips/alpine.DEB.2.21.2511110547430.25436@xxxxxxxxxxxxxxxxx/>.

Maciej