|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ti
 
| 
To:  | 
Dave Winchell <dwinchell@xxxxxxxxxxxxxxx> | 
 
| 
Subject:  | 
Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks | 
 
| 
From:  | 
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> | 
 
| 
Date:  | 
Sat, 03 Nov 2007 22:31:47 +0000 | 
 
| 
Cc:  | 
"Dong, Eddie" <eddie.dong@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Shan,	Haitao" <haitao.shan@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> | 
 
| 
Delivery-date:  | 
Sat, 03 Nov 2007 15:26:53 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<472CE57A.9030804@xxxxxxxxxxxxxxx> | 
 
| 
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> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
| 
Thread-index:  | 
AcgeaVGhkHCz6YpcEdyjrwAWy6hiGQ== | 
 
| 
Thread-topic:  | 
[Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks | 
 
| 
User-agent:  | 
Microsoft-Entourage/11.3.6.070618 | 
 
 
 
On 3/11/07 21:17, "Dave Winchell" <dwinchell@xxxxxxxxxxxxxxx> wrote:
> Thanks for applying the fixes in the last submit.
> In moving the test for no_missed_tick_accounting into
> pt_process_missed_ticks()
> you forgot to add the scheduling part.
Actually it was deliberate, but clearly it was one code simplification too
far: thanks for spotting it! I'll go the async route, but we do need to set
pending_intr_nr to 1. We can't leave that out -- the point of the async
route is to send a tick to the vcpu immediately, since it hasn't had one for
more than a tick period. If we wait for the timeout to do that then we have
to wait a whole extra period after the vcpu is re-scheduled.
Attached is my proposed patch. I think it's quite neat. :-)
 -- Keir
 
 
timer.patch 
Description: Binary data 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks, Keir Fraser
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks, Keir Fraser
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks, Keir Fraser
 
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks,
Keir Fraser <=
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks, Keir Fraser
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks, Keir Fraser
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks, Keir Fraser
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks, Keir Fraser
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending	missed ticks, Keir Fraser
 - Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed	ticks, Dave Winchell
 
  
  
  
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |