Ingo Oeser wrote:
Stupid applications can starve other applications for a while, but not forever, because the kernel is still running and deciding.
Not so.
task 1: sched_rr, priority 1, takes mutex task 2: sched_rr, priority 2, cpu hog, infinite loop task 3: sched_rr, priority 99, tries to get mutex
And now tasks 1 and 3 are starved forever. Arguably bad application design, but it demonstrates a case where applications can starve other applications.
Chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/