Displaying 1 result from an estimated 1 matches for "mwait_ptr".
Did you mean:
wait_ptr
2012 Mar 01
3
[PATCH v2] x86: Use deep C states for off-lined CPUs
...en/arch/x86/acpi/cpu_idle.c
--- a/xen/arch/x86/acpi/cpu_idle.c Mon Feb 27 17:05:18 2012 +0000
+++ b/xen/arch/x86/acpi/cpu_idle.c Thu Mar 01 23:52:41 2012 +0100
@@ -566,6 +566,7 @@ static void acpi_dead_idle(void)
struct acpi_processor_power *power;
struct acpi_processor_cx *cx;
void *mwait_ptr;
+ struct cpuinfo_x86 *c = ¤t_cpu_data;
if ( (power = processor_powers[smp_processor_id()]) == NULL )
goto default_halt;
@@ -601,6 +602,23 @@ static void acpi_dead_idle(void)
mb();
__mwait(cx->address, 0);
}
+ }
+ else if ( c...