View | Details | Raw Unified | Return to bug 228076
Collapse All | Expand All

(-)b/sys/kern/sched_ule.c (-2 / +3 lines)
Lines 884-894 sched_balance(void) Link Here
884
{
884
{
885
	struct tdq *tdq;
885
	struct tdq *tdq;
886
886
887
	balance_ticks = max(balance_interval / 2, 1) +
888
	    (sched_random() % balance_interval);
889
887
	if (smp_started == 0 || rebalance == 0)
890
	if (smp_started == 0 || rebalance == 0)
888
		return;
891
		return;
889
892
890
	balance_ticks = max(balance_interval / 2, 1) +
891
	    (sched_random() % balance_interval);
892
	tdq = TDQ_SELF();
893
	tdq = TDQ_SELF();
893
	TDQ_UNLOCK(tdq);
894
	TDQ_UNLOCK(tdq);
894
	sched_balance_group(cpu_top);
895
	sched_balance_group(cpu_top);

Return to bug 228076