|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ti
To: |
"Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks |
From: |
"Shan, Haitao" <haitao.shan@xxxxxxxxx> |
Date: |
Wed, 31 Oct 2007 11:10:17 +0800 |
Cc: |
Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Dong, Eddie" <eddie.dong@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> |
Delivery-date: |
Tue, 30 Oct 2007 20:15:05 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<C34D0886.17A54%Keir.Fraser@xxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<823A93EED437D048963A3697DB0E35DED56B99@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C34D0886.17A54%Keir.Fraser@xxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcgbARjJKKG5c3pgTC6LtDRffvi9TwADqFEmABaaAJA= |
Thread-topic: |
[Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks |
Hi, Keir, Dave
Sorry, I made a silly mistake for my last patch. The
attached will fix it.
This piece of code should actually be added in
pt_restore_timer rather than pt_timer_fn.
+ else if (
(NOW() - pt->scheduled) >= 0
) +
{ +
pt->pending_intr_nr++; +
pt->scheduled = NOW() +
pt->period; +
}
Best
Regards Haitao Shan
Applied as c/s 16274. Please take a look and make
sure the mode works as you expect.
-- Keir
On 30/10/07
14:28, "Shan, Haitao" <haitao.shan@xxxxxxxxx> wrote:
Hi,
Keir,
This patch adds a new timer mode, in which no missed ticks is
calculated. This can be used with latest x86_64 linux guest, since it can pick
up missed ticks themselves.
<<no_missed_ticks.patch>>
Best Regards Haitao Shan
_______________________________________________ Xen-devel
mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
no_missed_ticks_fix.patch
Description: no_missed_ticks_fix.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|