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

git: kernel - Fix panic when usched is used to force a cpu w/the dfly scheduler


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Aug 2013 10:48:10 -0700 (PDT)

commit d87af38ca063b9782ed8e05a68691890f58d489c
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Aug 2 10:46:40 2013 -0700

    kernel - Fix panic when usched is used to force a cpu w/the dfly scheduler
    
    * Fix a panic for 'usched dfly:0x1 sh', or other similar cpu forcing
      mechanic.
    
    * The scheduler was not being notified of the forced migration which
      caused it to assert on a sanity check later on.  Add the needed
      infrastructure.
    
    Reported-by: vsrinivas

Summary of changes:
 sys/kern/usched_bsd4.c  | 10 +++++++++-
 sys/kern/usched_dfly.c  | 28 +++++++++++++++++++++++++++-
 sys/kern/usched_dummy.c | 10 +++++++++-
 sys/sys/usched.h        |  1 +
 4 files changed, 46 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository



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