lkml.org 
[lkml]   [2005]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectScheduler question in __wake_up_common() - Real Time Apps
I have a question about the implementation in __wake_up_common() that I'm
hoping someone might know the background on. This function wakes up
a specified number of tasks for a wait_queue. I'm wondering why it doesn't
wake up the tasks in priority order, so that for things following wake-one
semantics high priority tasks get woken up before lower priority tasks.

The only thing I can think of off the top of my head is that it simplifies the
O(1) implementation, but I'm wondering if maybe there is something else.

Thanks,

Chad
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.023 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site