|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: reprogram LAPIC timer in pit_broadca
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217324550 -3600
# Node ID 9454fae58cb83ad678492879e82ecef2eab08705
# Parent 507045f254e91bd19251c7b327be8f0540561c0d
x86: reprogram LAPIC timer in pit_broadcast_exit
Thus to remove possible timer expiring delay caused by deep C state
LAPIC timer stopping.
Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
---
xen/arch/x86/time.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
diff -r 507045f254e9 -r 9454fae58cb8 xen/arch/x86/time.c
--- a/xen/arch/x86/time.c Tue Jul 29 10:41:41 2008 +0100
+++ b/xen/arch/x86/time.c Tue Jul 29 10:42:30 2008 +0100
@@ -1135,7 +1135,10 @@ void pit_broadcast_enter(void)
void pit_broadcast_exit(void)
{
- cpu_clear(smp_processor_id(), pit_broadcast_mask);
+ int cpu = smp_processor_id();
+
+ if ( cpu_test_and_clear(cpu, pit_broadcast_mask) )
+ reprogram_timer(per_cpu(timer_deadline, cpu));
}
int pit_broadcast_is_available(void)
_______________________________________________
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] x86: reprogram LAPIC timer in pit_broadcast_exit,
Xen patchbot-unstable <=
|
|
|
|
|