Fix a SMP race in signotify_remote(). LWPHOLD() the lwp being
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 9 Jun 2008 04:33:08 +0000 (04:33 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 9 Jun 2008 04:33:08 +0000 (04:33 +0000)
commitc5d0ecf83cd1b4bc6d6f9dffa8578dcfbe20baed
treee5979ce023dcd8d936b161ff3dd8929aa47b2612
parent9f5097dc7c00e4bc901c5184e1e73ec5dcd0d565
Fix a SMP race in signotify_remote().  LWPHOLD() the lwp being
passed from one cpu to another over an IPI to prevent it from exiting
in the mean time and causing the IPI to panic.
sys/kern/kern_sig.c