]> git.karo-electronics.de Git - linux-beck.git/commit
x86, cpu: Change NOP selection for certain Intel CPUs
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 18 Apr 2011 22:31:57 +0000 (15:31 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 18 Apr 2011 23:40:32 +0000 (16:40 -0700)
commitd8d9766c8c29f71c37bc4b74cc9fcf6a192c9bfd
treee491da1e7e5a7dd2b500d4cb62b17b56e13f306a
parentdc326fca2b640fc41aed7c015d0f456935a66255
x86, cpu: Change NOP selection for certain Intel CPUs

Due to a decoder implementation quirk, some specific Intel CPUs
actually perform better with the "k8_nops" than with the
SDM-recommended NOPs.  For runtime-selected NOPs, if we detect those
specific CPUs then use the k8_nops instead of the ones we would
normally use.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jason Baron <jbaron@redhat.com>
Link: http://lkml.kernel.org/r/1303166160-10315-4-git-send-email-hpa@linux.intel.com
arch/x86/kernel/alternative.c