git: kernel - Fix issue revealed by new yield code

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 14 02:09:13 PDT 2013


commit 721d1b44912f0e82ee8f8e104e43b5f321268de2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 14 02:08:18 2013 -0700

    kernel - Fix issue revealed by new yield code
    
    * Make sure the current lwp is released from the scheduler in all cases.
      There were a few race cases where it would not be released.
    
    * Reorder the yield code a little.

Summary of changes:
 sys/kern/kern_exit.c   | 12 ++++++------
 sys/kern/usched_dfly.c | 14 ++++++--------
 2 files changed, 12 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/721d1b44912f0e82ee8f8e104e43b5f321268de2


-- 
DragonFly BSD source repository


More information about the Commits mailing list