Linux - per se - does not support any priority-inversion avoidance
protocol (it doesn't even support yield() correctly). This is true
of the SCHED_RR and SCHED_FIFO policies as well.
Priority inheritance / priority ceiling protocols (etc.) are the
province
of Real-Time Operating Systems
1. Does Linux has a built-in priority inheritance mechanisms for
mutexes (in order to avoid priority inversion) ?
I tried to find it on LinuxThreads Frequently Asked
Questions and it's links--not with much success (but then it wasn't
an in-depth search).