git: kernel - Fix missing tokens in killalllwps()

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 4 19:48:34 PDT 2018


commit 5715de34eb0e8f5a19bda87ee4b7c1ff413a2410
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Oct 4 15:28:11 2018 -0700

    kernel - Fix missing tokens in killalllwps()
    
    * There appears to be at least one code path where killalllwps()
      is being called without the necessary tokens held.
    
    * Just have the routine itself obtain the necessary tokens.
    
    * Might be responsible for extremely rare core-dump stop/wait
      stalls.

Summary of changes:
 sys/kern/kern_exit.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5715de34eb0e8f5a19bda87ee4b7c1ff413a2410


-- 
DragonFly BSD source repository


More information about the Commits mailing list