trivial patch for xm debug-key t
PATCH 1/1 trivial patch for xm debug-key t
This trivial patch ensures interrupts don't adversely affect the intra-processor stime skew data collected by "xm debug-key t"
Dan
===================================
Thanks... for the memory
I really could use more / My throughput's on the floor The balloon is flat / My swap disk's fat / I've OOM's in store Overcommitted so much
(with apologies to the late great Bob Hope)
xen/common/keyhandler.c +2 -0
@@ -240,10 +240,12 @@ static void read_clocks_slave(void *unusstatic 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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel