summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/configs/mpc86xx_basic_defconfig
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2016-10-03 17:40:29 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-10-04 16:12:16 +1100
commitbb85fb5803270c52863b983596c2a038facaf4b3 (patch)
tree2995f9570fe4d5a9dbbc50a4f53827ea8252ce8b /arch/powerpc/configs/mpc86xx_basic_defconfig
parent91ac730b8b1d7c5e71e7ed2d785a61c27433e13d (diff)
downloadlinux-bb85fb5803270c52863b983596c2a038facaf4b3.tar.bz2
powerpc: During context switch, check before setting mm_cpumask
During context switch, switch_mm() sets our current CPU in mm_cpumask. We can avoid this atomic sequence in most cases by checking before setting the bit. Testing on a POWER8 using our context switch microbenchmark: tools/testing/selftests/powerpc/benchmarks/context_switch \ --process --no-fp --no-altivec --no-vector Performance improves 2%. Signed-off-by: Anton Blanchard <anton@samba.org> Acked-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/configs/mpc86xx_basic_defconfig')
0 files changed, 0 insertions, 0 deletions