Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



There is an off-by-one error in sched_slept().
With that patched, my box seems to work.

best regards
Matthias


@@ -470,7 +457,7 @@ sched_slept(struct lwp *l)
         * If thread is in time-sharing queue and batch flag is not marked,
         * increase the the priority, and run with the lower time-quantum.
         */
-       if (l->l_priority <= PRI_HIGHEST_TS &&
+       if (l->l_priority < PRI_HIGHEST_TS &&
            (sil->sl_flags & SL_BATCH) == 0) {
                KASSERT(l->l_class == SCHED_OTHER);
                l->l_priority++;




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index