Change the SMP wakeup() code to send an IPI to the target cpu's in parallel
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 30 Apr 2008 04:19:57 +0000 (04:19 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 30 Apr 2008 04:19:57 +0000 (04:19 +0000)
commit1f4f6e0b236ac11cfbc81b266c58f66c542972a9
treee6f2529226959c9c278df00a42bd29090e430dba
parentf9a11477341ec222d8b1faabe7d2f8ef7edac2f6
Change the SMP wakeup() code to send an IPI to the target cpu's in parallel
instead of chaining the message.  This fixes a stack depth assertion in the
IPI processing code that Sephe was hitting in his network work.  The target
cpu _wakeup() code no longer recurses the IPI subsystem.

Reported-by: "Sepherosa Ziehau" <sepherosa@gmail.com>
sys/kern/kern_synch.c