git: kernel - Fix minor scheduler bugs

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 3 19:39:35 PST 2020


commit 5f4788b45e2fbbaebd6849cb0669f70a8bb2169f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 3 17:58:43 2020 -0800

    kernel - Fix minor scheduler bugs
    
    * Fix an issue where the ucount and/or uload could get out of sync,
      giving a cpu a permanent bias one way or the other.
    
    * Fix an issue where the scheduler pull feature (0x01 or 0x04) would
      ignore cpus with non-zero run-queue counts in favor of cpus with
      high uloads (that can be due to processes sleeping < 1 second).
    
    * By default, the scheduler helper's pull feature now runs once a tick.
      This may be changed as testing progresses.

Summary of changes:
 sys/kern/kern_synch.c  |   4 +
 sys/kern/usched_dfly.c | 198 +++++++++++++++++++------------------------------
 sys/sys/usched_dfly.h  | 132 +++++++++++++++++++++++++++++++++
 3 files changed, 211 insertions(+), 123 deletions(-)
 create mode 100644 sys/sys/usched_dfly.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f4788b45e2fbbaebd6849cb0669f70a8bb2169f


-- 
DragonFly BSD source repository



More information about the Commits mailing list