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

看板DFBSD_commit作者時間16年前 (2009/05/14 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1A304u00 (DFBSD_commit)