summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorAnton Blanchard2016-10-03 08:03:03 +0200
committerMichael Ellerman2016-10-04 07:13:13 +0200
commit61e98ebff3ba3d3b17e999dc483c2680480ed715 (patch)
tree3413b146a703edb4e7a5cbf963ce57a639ef791b /arch/powerpc/Kconfig
parentpowerpc: During context switch, check before setting mm_cpumask (diff)
downloadkernel-qcow2-linux-61e98ebff3ba3d3b17e999dc483c2680480ed715.tar.gz
kernel-qcow2-linux-61e98ebff3ba3d3b17e999dc483c2680480ed715.tar.xz
kernel-qcow2-linux-61e98ebff3ba3d3b17e999dc483c2680480ed715.zip
powerpc: Remove static branch prediction in atomic{, 64}_add_unless
I see quite a lot of static branch mispredictions on a simple web serving workload. The issue is in __atomic_add_unless(), called from _atomic_dec_and_lock(). There is no obvious common case, so it is better to let the hardware predict the branch. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Kconfig')
0 files changed, 0 insertions, 0 deletions