kernel - Fix missing tokens in killalllwps()
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 4 Oct 2018 22:28:11 +0000 (15:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 4 Oct 2018 22:29:49 +0000 (15:29 -0700)
commit5715de34eb0e8f5a19bda87ee4b7c1ff413a2410
tree5a806ab2e3d7f4ef3ea4f443a947d7684c0853cf
parent4725869b060b0e647b6c64480a0ce50f64ff23bb
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.
sys/kern/kern_exit.c