powerpc/pseries: Kill all prefetch streams on context switch
authorMichael Neuling <mikey@neuling.org>
Wed, 29 May 2013 19:34:27 +0000 (19:34 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 31 May 2013 22:29:25 +0000 (08:29 +1000)
commita515348fc69fd1d9e8ebd34a16f1026d7fe32048
treeb51f9766922a1050e376df6680bfae4cec82014f
parent2ac6f427ad837a69561160b282eff80d9f0c2466
powerpc/pseries: Kill all prefetch streams on context switch

On context switch, we should have no prefetch streams leak from one
userspace process to another.  This frees up prefetch resources for the
next process.

Based on patch from Milton Miller.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/kernel/entry_64.S