aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hardirq.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-04 12:48:28 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-04 12:48:28 +0100
commit1adb34ea846d8034988e54fa7d117a08b4b719fb (patch)
treecb1d8c54a3b4f1755dbf470033043e025c15ad42 /xen/include/asm-x86/hardirq.h
parent3ede2e71352e2a73da42eac8929782c2b3dd9d6d (diff)
downloadxen-1adb34ea846d8034988e54fa7d117a08b4b719fb.tar.gz
xen-1adb34ea846d8034988e54fa7d117a08b4b719fb.tar.bz2
xen-1adb34ea846d8034988e54fa7d117a08b4b719fb.zip
CPUIDLE: re-implement mwait wakeup process
It MWAITs on a completely new flag field, avoiding the IPI-avoidance semantics of softirq_pending. It also does wakeup-waiting checks on timer_deadline_start, that being the field that initiates wakeup via the MONITORed memory region. Signed-off-by: Keir Fraser <keir.fraser@citrix.com> Signed-off-by: Wei Gang <gang.wei@intel.com>
Diffstat (limited to 'xen/include/asm-x86/hardirq.h')
-rw-r--r--xen/include/asm-x86/hardirq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hardirq.h b/xen/include/asm-x86/hardirq.h
index c426fdea07..5b9d18b875 100644
--- a/xen/include/asm-x86/hardirq.h
+++ b/xen/include/asm-x86/hardirq.h
@@ -8,6 +8,7 @@ typedef struct {
unsigned long __softirq_pending;
unsigned int __local_irq_count;
unsigned int __nmi_count;
+ bool_t __mwait_wakeup;
} __cacheline_aligned irq_cpustat_t;
#include <xen/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */