sched_ule, runqueues, priority, and O(1) sheduling question
Andriy Tkachuk
andrit at ukr.net
Sat Mar 5 06:57:46 GMT 2005
>I haven't looked at it, but could it just be referring to retrieving a
> thread from the queue. Just pulling something off a queue is a O(1)
> operation. The order it places things in the queue probably is not. :)
You rihgt - just pulling something off a queue is a O(1) operation,
but before pulling algorithm is finding the thread with highest
priority, with it have to pull - this is not the O(1) operation.
More information about the freebsd-hackers
mailing list