git: kernel - Fix itimer hard critical section panic

看板DFBSD_commit作者時間14年前 (2011/11/10 10:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 898e34b34c5c2a3f944073b36861e2247c7fed58 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Nov 7 16:26:48 2011 -0800 kernel - Fix itimer hard critical section panic * ksignal() needs per-lwp tokens as well as the process token, the existing itimer code only gets the process token. * Flag the itimer signal and issue the ksignal() in the trap's AST code instead of trying to issue it from the hardclock. Reported-by: swildner Summary of changes: sys/kern/kern_clock.c | 19 ++++++++++++++----- sys/kern/kern_time.c | 8 ++++++++ sys/platform/pc32/i386/trap.c | 16 +++++++++++++--- sys/platform/pc64/x86_64/trap.c | 16 +++++++++++++--- sys/platform/vkernel/i386/trap.c | 19 +++++++++++++++---- sys/platform/vkernel64/x86_64/trap.c | 19 +++++++++++++++---- sys/sys/proc.h | 4 ++-- 7 files changed, 80 insertions(+), 21 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/898e34b34c5c2a3f944073b36861e2247c7fed58 -- DragonFly BSD source repository
文章代碼(AID): #1EkpVa2L (DFBSD_commit)