[ECOS] CYGIMP_KERNEL_SCHED_SORTED_QUEUES flaws.

Sergei Organov osv@topconrd.ru
Tue Nov 30 19:11:00 GMT 2004


For reference, here is the description:

    cdl_option CYGIMP_KERNEL_SCHED_SORTED_QUEUES {
        display       "Dequeue oldest threads first"
        flavor        bool
        default_value 0
        description   "
            With this option enabled, threads queued in a thread queue
            will be dequeued in priority order, rather than last in,
            first out (LIFO). Threads of equal priority are dequeued
            oldest first. The only exception is the scheduler run 
            queues where order is less important as each is already
            sorted by priority. Note that this makes the thread queueing
            less deterministic."
    }


First, it seems that "display" should say something like "Dequeue
highest priority threads first" to be consistent with the description
and the meaning of the option.

Second, the "... rather than last in, first out (LIFO)" seems to be
just wrong. Shouldn't it be "... rather than first in, first out (FIFO)"
instead? 

-- 
Sergei.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list