git: kernel - poll/select - temporary fix for stalls

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jan 2 21:03:10 PST 2010


commit 0ce2fa979d2aec891b9783baf288548f535d7c38
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jan 2 20:54:57 2010 -0800

    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.

Summary of changes:
 sys/kern/sys_generic.c |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ce2fa979d2aec891b9783baf288548f535d7c38


-- 
DragonFly BSD source repository





More information about the Commits mailing list