lkml.org 
[lkml]   [2000]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.108 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site