]> git.baikalelectronics.ru Git - kernel.git/commit
x86/jump-label: Do not bother updating nops if they are correct
authorSteven Rostedt <srostedt@redhat.com>
Thu, 26 Jan 2012 23:16:15 +0000 (18:16 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 7 Aug 2013 01:43:18 +0000 (21:43 -0400)
commit40606294b4fab2acaaa74680f56a18963ba5b926
tree186933d1597c8511c4fc8cdc0dc51062ed3f01b1
parentfaf34f344bb28b897f59f7067abcdd090cd1de39
x86/jump-label: Do not bother updating nops if they are correct

On boot up, the jump label init function scans all the jump label locations
and converts them to the best nop for the machine. If the nop is already
the ideal nop, do not bother with changing it.

Cc: Jason Baron <jbaron@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/jump_label.c