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

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jan 2 22:14:04 PST 2010


commit e6f31a83d62f51be832512da485cca095a450513
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/e6f31a83d62f51be832512da485cca095a450513


-- 
DragonFly BSD source repository





More information about the Commits mailing list