DragonFly-2.3.2.70.g7f5d7 master sys/kern lwkt_thread.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jul 15 22:29:36 PDT 2009


commit 7f5d7ed72f25a050b246978877ae10a3a6de9d35
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jul 15 22:25:40 2009 -0700

    tsleep_interlock - Fix bug with TDF_TSLEEPQ
    
    * LWKT previously disallowed the scheduling of a thread flagged
      TDF_TSLEEPQ because the tsleep queue was the same as the threadq.
      Now that they are different, it is possible for the thread to
      still be on a tsleepq when descheduled and later rescheduled.
      Remove the check, allowing the thread to be rescheduled by LWKT.
    
      This fixes issues with processes just locking up in "D"isk wait.

Summary of changes:
 sys/kern/lwkt_thread.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7f5d7ed72f25a050b246978877ae10a3a6de9d35


-- 
DragonFly BSD source repository





More information about the Commits mailing list