DragonFly BSD
DragonFly commits List (threaded) for 2011-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dsched - Add debugging & fix rare problem conditions


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Aug 2011 03:35:12 -0700 (PDT)

commit c7a0a046f2a7ef938aaa235cb6e934f2a3ba4345
Author: Alex Hornung <ahornung@gmail.com>
Date:   Sat Aug 27 10:51:24 2011 +0000

    dsched - Add debugging & fix rare problem conditions
    
     * Add a bunch of debugging to see whether a particular tdio was
       initialized and to which policy it belongs.
    
     * Reorder some locking to ensure the whole switch of policy is
       protected as expected.
    
     * Make sure the tdio from the newest policy is used when there
       are tdios for several scheduling policies in the tdctx->tdio_list.
    
    Reported-by: Brills Peng

Summary of changes:
 sys/kern/kern_dsched.c |   33 +++++++++++++++++++++++++++++----
 sys/sys/dsched.h       |    7 +++++++
 2 files changed, 36 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7a0a046f2a7ef938aaa235cb6e934f2a3ba4345


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]