Re: [PATCH] proposed scheduler enhancements and fixes

From: Chris Wedgwood (cw@f00f.org)
Date: Sat Feb 26 2000 - 17:44:25 EST


On Sat, Feb 26, 2000 at 11:30:15AM +0100, Manfred Spraul wrote:

> 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.

This would only fix kernel-space deadlocks -- think about pthreads
and NSPR when you have userspace locking.

-cw

-
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