DragonFly commits List (threaded) for 2011-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix itimer hard critical section panic
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]