s390/uaccess, locking/static_keys: employ static_branch_likely()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 29 Jul 2015 06:31:24 +0000 (08:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 3 Aug 2015 09:34:17 +0000 (11:34 +0200)
commited79e946732e5311934d7f404b3b4e702e45cb97
tree707e84f82e9b7f07c9638671ccbb85807fdcdfaf
parent3bbfafb77a06327fa1bc9f19bc55b5c558475091
s390/uaccess, locking/static_keys: employ static_branch_likely()

Use the new static_branch_likely() primitive to make sure that the
most likely case is executed without taking an unconditional branch.
This wasn't possible with the old jump label primitives.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/20150729064600.GB3953@osiris
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/s390/lib/uaccess.c