Messages in this thread | | | Date | Mon, 28 Feb 2005 13:30:36 -0500 | From | "Chad N. Tindel" <> | Subject | Scheduler 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/
| |