git: dsched - Add debugging & fix rare problem conditions

Alex Hornung alexh at crater.dragonflybsd.org
Sat Aug 27 03:36:18 PDT 2011


commit c7a0a046f2a7ef938aaa235cb6e934f2a3ba4345
Author: Alex Hornung <ahornung at 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





More information about the Commits mailing list