We must process incoming IPI messages when spinning in the thread
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 16 Jun 2008 02:00:05 +0000 (02:00 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 16 Jun 2008 02:00:05 +0000 (02:00 +0000)
commitdf910c235d7f3683cb99961545c6f4deeabd7849
tree80b280a3227d9586ce01409f291133609a4448bd
parent23fb73678042a28bf95cd9211ed1b4ec6a423f06
We must process incoming IPI messages when spinning in the thread
cpu acquisition code.  This avoids a deadlock which can occur between
the cpu whos thread is trying to exit and the cpu receiving the thread.

Reported-by: Gary Allan <dragonfly@gallan.co.uk>
sys/kern/lwkt_thread.c