Skip to content
Commit 5156ddce authored by Kumar Gala's avatar Kumar Gala
Browse files

powerpc/mm: Fix SMP issue with MMU context handling code



In switch_mmu_context() if we call steal_context_smp() to get a context
to use we shouldn't fall through and than call steal_context_up().  Doing
so can be problematic in that the 'mm' that steal_context_up() ends up
using will not get marked dirty in the stale_map[] for other CPUs that
might have used that mm.  Thus we could end up with stale TLB entries in
the other CPUs that can cause all kinda of havoc.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 4733fd32
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment