Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Use local TLB flush for get_mmu_context() ASID exhaustion.

When get_mmu_context() runs out of new ASIDs it flushes the TLB and
wraps around. Despite the fact the ASIDs are tracked per-CPU, a global
TLB flush was being used. Switch this over to a local one, as matches
the intent.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+1 -1
+1 -1
arch/sh/include/asm/mmu_context.h
··· 69 69 * We exhaust ASID of this version. 70 70 * Flush all TLB and start new cycle. 71 71 */ 72 - flush_tlb_all(); 72 + local_flush_tlb_all(); 73 73 74 74 #ifdef CONFIG_SUPERH64 75 75 /*