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

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 2 10:48:10 PDT 2013


commit d87af38ca063b9782ed8e05a68691890f58d489c
Author: Matthew Dillon <dillon at 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


More information about the Commits mailing list