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 04:54:57 +0000 (20:54 -0800)
commite6f31a83d62f51be832512da485cca095a450513
tree9aca5f71cdbf1b876298c5f416bda489d35bed53
parent8aef0068d75c5b6d6e1bfcbbc001dc3cc4f312fc
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