Kamble, Nitin A
2006-Apr-21 22:28 UTC
[Xen-devel] [PATCH] Avoid flooding of PIT interrupts while debugging
Hi Keir,
Avoid flood of PIT interrupts while debugging of hvm guest:
This is rebased to the new PIT code now. It has the same logic as
earlier. PIT tries to catch up the missed timer ticks by injected all
the ticks one by one so that Guest time stays close to the wall clock.
But while debugging a hvm guest if you stop the guest by debugger and
then continue, the guest sees flood of interrupts compensating the
missed ticks for the stopped time. This patch just check if the guest is
being debugged, if yes then it does not try to catch up with the missed
ticks.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@.intel.com>
Thanks & Regards,
Nitin
------------------------------------------------------------------------
-----------
Open Source Technology Center, Intel Corp
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ian Pratt
2006-Apr-23 20:32 UTC
[Xen-devel] RE: [PATCH] Avoid flooding of PIT interrupts while debugging
> This is rebased to the new PIT code now. It has the same > logic as earlier. PIT tries to catch up the missed timer > ticks by injected all the ticks one by one so that Guest time > stays close to the wall clock.Ideally, we wouldn''t fire the missed ticks in back to back, but spread them out over the expected time slice. This is likely to interact better with the guest''s internal process scheduler. Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel