kernel - poll/select - temporary fix for stalls
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Jan 2010 04:54:57 +0000 (20:54 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Jan 2010 05:01:52 +0000 (21:01 -0800)
commit0ce2fa979d2aec891b9783baf288548f535d7c38
tree60613db46a52714fbc638404f56aab457e7b8c74
parent9510fd86d7d0f1588f36345b5f59d274d2aaa58a
kernel - poll/select - temporary fix for stalls

* Switch around a conditional to test LWP_SELECT first before attempting
  to make the process runnable.  This seems to fix the race causing
  reported stalls.
sys/kern/sys_generic.c