kernel - add usched_dfly algorith, set as default for now (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 18 Sep 2012 06:54:07 +0000 (23:54 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 18 Sep 2012 06:54:07 +0000 (23:54 -0700)
* Bug fix to the load accounting code, which effects cpu selection.

sys/kern/usched_dfly.c

index 6325175..262cbdf 100644 (file)
@@ -1376,10 +1376,6 @@ dfly_choose_worst_queue(dfly_pcpu_t dd)
                                load += dfly_pcpu[cpuid].uload;
                                if (dfly_pcpu[cpuid].uload)
                                        uloadok = 1;
-                               if (dfly_pcpu[cpuid].uschedcp) {
-                                       load += (dfly_pcpu[cpuid].upri &
-                                                ~PPQMASK) & PRIMASK;
-                               }
                                mask &= ~CPUMASK(cpuid);
                        }