DragonFly- master sys/platform/vkernel/i386 exception.c mp.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Feb 28 10:03:47 PST 2009

commit 8f66501e78f349e01f73c77a526d20de9c8617f6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Feb 28 09:55:45 2009 -0800

    VKERNEL - Fix entry into ddb when running a SMP vkernel.  Fixes stop/cont
    The vkernel was trying to send individual LWPs a SIGSTOP, but POSIX handles
    SIGSTOP differently from other signals and it was not having the desired
    Instead the vkernel now sends SIGXCPU to each individual LWP and installs
    a signal handler to pause the thread until the debugger wishes to wake it up
    Reported-by: corecode

Summary of changes:
 sys/platform/vkernel/i386/exception.c |   37 ++++++++++++++++++++++++++++++--
 sys/platform/vkernel/i386/mp.c        |    6 +++-
 2 files changed, 38 insertions(+), 5 deletions(-)


DragonFly BSD source repository

More information about the Commits mailing list