Hi!
> > Please don't. Whenever you think you priority inheritance, it's a sign your
> > system has got too complicated. The simplest solution is to simply have no
> > priorities when a task is in-kernel (or at least non that can completely
> > exclude a task).
>
> I agree, I said it was overkill.
>
> My solution is going to be to schedule the task as a SCHED_OTHER task
> when in the kernel, and as SCHED_IDLE task otherwise.
Yep, and you can do it without making syscalls any slower, and patch
was already on l-k.
Use ptrace-hooks for branching into your priority-promoting code, and
you'll have 0 impact on fast path.
Pavel
-- "I do not steal MS software. It is not worth it." -- Pavel Kankovsky - 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/
This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:19 EST