Skip to content
Commit 8e35961b authored by Hideo Saito's avatar Hideo Saito Committed by Benjamin Herrenschmidt
Browse files

powerpc/mm: Fix broken MMU PID stealing on !SMP



The recent rework of the MMU PID handling for non-hash CPUs has a
subtle bug in the !SMP "optimized" variant of the PID stealing
function.  It clears the PID in the mm context before it calls
local_flush_tlb_mm(). However, the later will not flush anything
if the PID in the context is clear...

Signed-off-by: default avatarHideo Saito <hsaito.ppc@gmail.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 59a3759d
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