Messages in this thread | | | Date | Tue, 18 Apr 2006 15:52:49 +0200 | From | Ingo Molnar <> | Subject | Re: [RT] bad BUG_ON in rtmutex.c |
| |
* Daniel Walker <dwalker@mvista.com> wrote:
> > But, as PI matures, it seems to be more and more acceptable. > > I read an article on priority ceiling as another method of doing > this. Priority ceiling doesn't seem better, but at the same time I > can't imagine how you'd implement it in Linux, or not in a straight > forward way .
it's already implemented and can be done in userspace: userspace can do it by doing a sys_setscheduler() call when entering the critical section, and another one when exiting it. (PI is obviously faster because there the futex fastpath can be pure-userspace.)
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |