Linus Torvalds wrote:
>
> The deadlock is due to priority inversion, where a "idle-priority" task
> gets a resource (say the directory semaphore), goes to sleep, and never
> wakes up again because there is some slightly more important process
> running all the time.
>
What about using SCHED_IDLE only for processes that are in user space?
e.g. ret_with_reschedule calls a special "schedule_with_SCHED_IDLE()".
As soon as a thread runs within kernel space, we ignore SCHED_IDLE.
-- Manfred- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:15 EST