[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>
This commit is contained in:
Andi Kleen
2007-05-02 19:27:12 +02:00
committed by Andi Kleen
parent c169859d6d
commit f039b75471
7 changed files with 39 additions and 16 deletions

View File

@@ -779,4 +779,6 @@ extern int sysenter_setup(void);
extern void cpu_set_gdt(int);
extern void cpu_init(void);
extern int force_mwait;
#endif /* __ASM_I386_PROCESSOR_H */