git: kernel - More threaded core dump fixes

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 30 10:29:43 PDT 2016


commit 9c9601535e4aadc2fa938d27d69061a0045ea117
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 30 10:25:59 2016 -0700

    kernel - More threaded core dump fixes
    
    * Try to make a more comprehensive fix for this, fixing an endless cpu
      loop in the kernel in the process due to mismatched tests.  Incorporate
      the LWP_MP_WEXIT flag into a new test, STOPLWP().
    
    * tsleep() is now more consistent in setting lwp_stat.
    
    * lwpsignal() needs to allow SIGKILL through during the exit sequence
      in order to wakeup any PCATCH tsleep()s.
    
    * Fix bug in the panic coredump code where the dump_stop_usertds variable
      could cause an endless tstop() loop.
    
    Reported-by: zrj

Summary of changes:
 sys/kern/kern_exit.c            |  4 ++--
 sys/kern/kern_sig.c             | 10 +++++-----
 sys/kern/kern_synch.c           | 26 ++++++++++++--------------
 sys/platform/pc64/x86_64/trap.c |  8 +++++---
 sys/sys/proc.h                  |  4 ++++
 5 files changed, 28 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c9601535e4aadc2fa938d27d69061a0045ea117


-- 
DragonFly BSD source repository


More information about the Commits mailing list