On Mon, 2016-03-10 at 06:03:03 UTC, Anton Blanchard wrote: > From: Anton Blanchard <an...@samba.org> > > 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 <an...@samba.org>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/61e98ebff3ba3d3b17e999dc483c26 cheers