Scheduler question in __wake_up_common() - Real Time Apps

From: Chad N. Tindel (chad_at_tindel.net)
Date: 02/28/05

  • Next message: Jan Niehusmann: "key bounce problem with 2.6.11-rc5"
    Date:	Mon, 28 Feb 2005 13:30:36 -0500
    To: linux-kernel@vger.kernel.org
    
    

    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/


  • Next message: Jan Niehusmann: "key bounce problem with 2.6.11-rc5"