]> git.baikalelectronics.ru Git - kernel.git/commit
x86: disable static NOPLs on 32 bits
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Sep 2008 16:30:14 +0000 (09:30 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 8 Sep 2008 18:35:43 +0000 (11:35 -0700)
commit2b453e41785d8ce4965c6d35848e8fd6319e3028
tree87aab243efb6dea0a8fb38fe6207764b24b82e6b
parenta6196f960e82a05162d3ea7cdeb889a4d1590688
x86: disable static NOPLs on 32 bits

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>
arch/x86/Kconfig.cpu