|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix debug key t to avoid irq jitter.
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216630180 -3600
# Node ID c433ee4844fbb0c62f6efb229d73ea822e061eb7
# Parent 34ad9e2c0d10a24b7e66eaaed9862843d9075cf7
Fix debug key t to avoid irq jitter.
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Siigned-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/common/keyhandler.c | 2 ++
1 files changed, 2 insertions(+)
diff -r 34ad9e2c0d10 -r c433ee4844fb xen/common/keyhandler.c
--- a/xen/common/keyhandler.c Mon Jul 21 09:47:07 2008 +0100
+++ b/xen/common/keyhandler.c Mon Jul 21 09:49:40 2008 +0100
@@ -240,10 +240,12 @@ static void read_clocks_slave(void *unus
static void read_clocks_slave(void *unused)
{
unsigned int cpu = smp_processor_id();
+ local_irq_disable();
while ( !cpu_isset(cpu, read_clocks_cpumask) )
cpu_relax();
read_clocks_time[cpu] = NOW();
cpu_clear(cpu, read_clocks_cpumask);
+ local_irq_enable();
}
static void read_clocks(unsigned char key)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix debug key t to avoid irq jitter.,
Xen patchbot-unstable <=
|
|
|
|
|