https://github.com/torvalds/linux
Revision 14469a8dd23677921db5e7354a602c98d9c6300f authored by Linus Torvalds on 05 September 2008, 16:30:14 UTC, committed by H. Peter Anvin on 08 September 2008, 18:35:43 UTC
On 32-bit, at least the generic nops are fairly reasonable, but the
default nops for 64-bit really look pretty sad, and the P6 nops really do
look better.

So I would suggest perhaps moving the static P6 nop selection into the
CONFIG_X86_64 thing.

The alternative is to just get rid of that static nop selection, and just
have two cases: 32-bit and 64-bit, and just pick obviously safe cases for
them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
1 parent 0253398
History
Tip revision: 14469a8dd23677921db5e7354a602c98d9c6300f authored by Linus Torvalds on 05 September 2008, 16:30:14 UTC
x86: disable static NOPLs on 32 bits
Tip revision: 14469a8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 99.8 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top