git: Revert "kernel - Reduce priority range from dynamic priority"

Matthew Dillon dillon at
Sat Feb 18 20:36:43 PST 2017

commit 49992e54c69c21c6beedb5f79afb19a2fec0e46d
Author: Matthew Dillon <dillon at>
Date:   Sat Feb 18 20:33:34 2017 -0800

    Revert "kernel - Reduce priority range from dynamic priority"
    This reverts commit abc0cda7b4a0a92afab15645d5adfac57af02866.
    The change improved how nice ranging works but completely blew up
    fork priority reduction, causing parent process dispatches via
    fork/exec (such as done by a service or by make) to not immediately
    move the child proces to another cpu when the parent has more work
    to do.
    This caused the kernel build to regress from 3:12 to 3:21 on the
    test box, and for the world build to only show minor improvements
    instead of more significant improvements.
    So revert it for now.  We will improve nice priorities another way.

Summary of changes:
 sys/kern/usched_dfly.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list