qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [Qemu-devel] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX
           [not found] <alpine.DEB.2.00.1205291426350.26786@kaball-desktop>
           [not found] ` <4FC502CE.20509@weilnetz.de>
    @ 2012-06-12  8:24 ` Andreas Färber
      2012-06-12  8:35   ` Andreas Färber
      2012-07-27 17:00   ` Andreas Färber
      1 sibling, 2 replies; 10+ messages in thread
    From: Andreas Färber @ 2012-06-12  8:24 UTC (permalink / raw)
      To: Stefano Stabellini, Anthony Liguori
      Cc: Paolo Bonzini, Stefan Weil, qemu-devel, Stefan Hajnoczi
    
    Am 29.05.2012 15:35, schrieb Stefano Stabellini:
    > qemu_rearm_alarm_timer partially duplicates the code in
    > qemu_next_alarm_deadline to figure out if it needs to rearm the timer.
    > If it calls qemu_next_alarm_deadline, it always rearms the timer even if
    > the next deadline is INT64_MAX.
    > 
    > This patch simplifies the behavior of qemu_rearm_alarm_timer and removes
    > the duplicated code, always calling qemu_next_alarm_deadline and only
    > rearming the timer if the deadline is less than INT64_MAX.
    > 
    > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    
    Tested-by: Andreas Färber <andreas.faerber@web.de>
    
    This resolves the assertion I had previously reported.
    
    The check-qtest-i386 qemu-system-i386 process now hangs at ~98% CPU,
    just as with my INT64_MAX hack before. How would I best debug this qtest
    scenario, and what should I be looking for? Since my 1.1 patch this is
    no longer going through any Cocoa event handling, so the only causes I
    can think of are timers and signals...
    
    Andreas
    
    ^ permalink raw reply	[flat|nested] 10+ messages in thread

  • end of thread, other threads:[~2012-08-09 19:59 UTC | newest]
    
    Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <alpine.DEB.2.00.1205291426350.26786@kaball-desktop>
         [not found] ` <4FC502CE.20509@weilnetz.de>
         [not found]   ` <4FC53AAD.3010201@redhat.com>
         [not found]     ` <4FC5888D.5080902@codemonkey.ws>
    2012-06-11  9:55       ` [Qemu-devel] [PATCH 1.1?] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX Stefano Stabellini
    2012-06-11 10:12         ` Andreas Färber
    2012-06-12  8:24 ` [Qemu-devel] " Andreas Färber
    2012-06-12  8:35   ` Andreas Färber
    2012-06-12 12:37     ` Stefano Stabellini
    2012-06-12 12:58       ` Andreas Färber
    2012-06-12 13:32         ` Stefano Stabellini
    2012-07-27 17:00   ` Andreas Färber
    2012-08-09 15:35     ` [Qemu-devel] [Qemu-devel for-1.2] " Andreas Färber
    2012-08-09 19:58       ` Blue Swirl
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).