|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH 2/4] CPUIDLE: Avoid remnant LAPIC timer intrwhile
>From: Wei, Gang
>Sent: 2008年9月10日 22:25
>
>> It's not clear to me the disable/enable_LAPIC_timer() work
>is worthwhile for
>> the few timer interrupts it is likely to avoid. The other
>bit of the patch
>> is a good bugfix though. I've taken just the latter part.
>
>Thanks for accept most of these patches. As to
>disable/enable_LAPIC_timer(), I add them because some
>platforms require the LAPIC timer intr being disabled before
>entering C3, otherwise there may be some unexpected things. As
>a reference, Linux kernel always do so.
>
Also this is conceptually clearer, as at given time we only
want one clock source to drive timers. It'd make little sense
to have APIC timer freely counting down to trigger spurious
interrupt when HPET/PIT already plays the role before APIC
timer is reprogrammed upon C3 exit. :-)
Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|