Re: [RFC] rtmutex: Do not boost fair tasks each other

From: Thomas Gleixner
Date: Wed May 28 2014 - 16:27:09 EST


On Mon, 5 May 2014, Kirill Tkhai wrote:
> Ð ÐÐ, 03/05/2014 Ð 20:54 +0200, Thomas Gleixner ÐÐÑÐÑ:
> > Though exercising that code path as much as we can is not a bad thing
> > either. So I'd like to see that made compile time conditional on one
> > of the lock testing CONFIG items.
>
> +#ifndef CONFIG_RT_MUTEX_BOOST_ALL

No, not another pointless config option. Read what I said. What's
wrong with using an existing config item, e.g DEBUG_RT_MUTEXES?

> +#define heritable_prio(prio) (rt_prio(prio) || dl_prio(prio))

inheritable please. It's not priority heritance and never will be.

Thanks,

tglx