Re: High resolution timers and BH processing on -RT

Ingo Molnar
2005-01-28T18:59:29Z

* George Anzinger <george@mvista.com> wrote:

> The primary thing needed for this is a simple and quick way to switch
> a tasks priority, both from outside and from the task itself.

check out sched.c's mutex_setprio(p, prio) and mutex_getprio(p), which
is used by the PI code in kernel/rt.c. It's pretty robust and heavily
used.

Ingo