[PATCH] x86: Don't use MWAIT on AMD Family 10
authorAndi Kleen <ak@suse.de>
Wed, 2 May 2007 17:27:12 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:12 +0000 (19:27 +0200)
commitf039b754714a422959027cb18bb33760eb8153f0
treec5f28502adf35f5ea7738a974cd7c4fc81e1dd21
parentc169859d6dfc7471ef9f2dbd720936e17906a084
[PATCH] x86: Don't use MWAIT on AMD Family 10

It doesn't put the CPU into deeper sleep states, so it's better to use the standard
idle loop to save power. But allow to reenable it anyways for benchmarking.

I also removed the obsolete idle=halt on i386

Cc: andreas.herrmann@amd.com
Signed-off-by: Andi Kleen <ak@suse.de>
Documentation/kernel-parameters.txt
arch/i386/kernel/cpu/amd.c
arch/i386/kernel/process.c
arch/x86_64/kernel/process.c
arch/x86_64/kernel/setup.c
include/asm-i386/processor.h
include/asm-x86_64/proto.h