git: kernel - Fix uload calculation in usched_dfly
dillon at crater.dragonflybsd.org
Tue Aug 15 21:59:00 PDT 2017
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Aug 15 20:29:06 2017 -0700
kernel - Fix uload calculation in usched_dfly
* When a very large number of processes are runnable (greater than 32767),
the uload rollup field in dfly_pcpu can overflow. In addition, the
delta calculation for individual processes can also overflow.
Fix both cases.
* Symptoms: one cpu starts getting an excessive percentage of the process
load as the system attempts to continuously rebalance into it.
Summary of changes:
sys/kern/usched_dfly.c | 46 +++++++++++++++++++++++++++++++---------------
1 file changed, 31 insertions(+), 15 deletions(-)
DragonFly BSD source repository
More information about the Commits