DragonFly commits List (threaded) for 2009-05
DragonFly BSD
DragonFly commits List (threaded) for 2009-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.1.44.g79b38a master sys/kern kern_intr.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 May 2009 04:02:52 -0700 (PDT)

commit 79b38af28ede94a44548a7aa7d228d18f686b35a
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Thu May 14 18:44:51 2009 +0800

    Use nq version of systimer_init_periodic() when initialize interrupt
    livelock avoidance systimer.
    
    The bug revealed itself as long time looping in the systimer_intr():
    The one shot timer interrupt handler is prevented from running for
    some time probably due to heavy interrupt load, and livelock avoidance
    systimer is setup using high frequency (40000Hz by default).  If non-nq
    version of systimer was used, then the main loop of systimer_intr()
    would try to keep running and reloading this systimer until the
    accumulated time caught up with the saved sys_cputimer count.
    
    Debug information provided by Jordan Gordeev <jgordeev@dir.bg>, he also
    helped to locate the systimer cause the long time looping.
    
    Tested-by: Jordan Gordeev <jgordeev@dir.bg>
    Approved-by: dillon@

Summary of changes:
 sys/kern/kern_intr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79b38af28ede94a44548a7aa7d228d18f686b35a


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]