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
Kconfig -rw-r--r-- 2.9 KB
Kconfig.iosched -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 599 bytes
as-iosched.c -rw-r--r-- 38.5 KB
blk-barrier.c -rw-r--r-- 7.6 KB
blk-core.c -rw-r--r-- 54.0 KB
blk-exec.c -rw-r--r-- 2.6 KB
blk-integrity.c -rw-r--r-- 9.9 KB
blk-ioc.c -rw-r--r-- 4.0 KB
blk-map.c -rw-r--r-- 7.3 KB
blk-merge.c -rw-r--r-- 12.3 KB
blk-settings.c -rw-r--r-- 13.6 KB
blk-sysfs.c -rw-r--r-- 8.3 KB
blk-tag.c -rw-r--r-- 9.6 KB
blk.h -rw-r--r-- 1.9 KB
blktrace.c -rw-r--r-- 12.6 KB
bsg.c -rw-r--r-- 23.0 KB
cfq-iosched.c -rw-r--r-- 56.6 KB
cmd-filter.c -rw-r--r-- 5.5 KB
compat_ioctl.c -rw-r--r-- 21.9 KB
deadline-iosched.c -rw-r--r-- 11.5 KB
elevator.c -rw-r--r-- 26.3 KB
genhd.c -rw-r--r-- 19.5 KB
ioctl.c -rw-r--r-- 7.0 KB
noop-iosched.c -rw-r--r-- 2.6 KB
scsi_ioctl.c -rw-r--r-- 17.1 KB

back to top