Messages in this thread | | | Date | Sat, 26 Feb 2000 11:30:15 +0100 | From | Manfred Spraul <> | Subject | Re: [PATCH] proposed scheduler enhancements and fixes |
| |
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/
| |