public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kirill Tkhai <tkhai@yandex.ru>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Paul Gortmaker <paul.gortmaker@windriver.com>,
	Mike Galbraith <umgwanakikbuti@gmail.com>
Subject: Re: [RFC] rtmutex: Do not boost fair tasks each other
Date: Tue, 17 Jun 2014 18:19:32 +0400	[thread overview]
Message-ID: <4717441403014772@web18g.yandex.ru> (raw)
In-Reply-To: <1401396751.1628.4.camel@localhost.localdomain>

Hi, Thomas,

have you seen this version?

Thanks,
Kirill

30.05.2014, 00:52, "Kirill Tkhai" <tkhai@yandex.ru>:
> В Ср, 28/05/2014 в 22:26 +0200, Thomas Gleixner пишет:
>>  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 for comments. Here is new version.
>
> [PATCH] rtmutex: Do not boost owner's prio if waiter is SCHED_OTHER
>
> Higher priority does not provide exclusive privilege
> of one fair class task over the other. In this case
> priority boosting is pointless, and it may worsen
> performance.
>
> This patch makes boosting, which is requested by fair
> class waiters, optional. It's disabled by default, but
> it's possible to enable it for debugging purposes to
> have more cases of priority inheritance.
>
> Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
>
>  kernel/locking/rtmutex.c | 28 +++++++++++++++++++++-------
>  1 file changed, 21 insertions(+), 7 deletions(-)

      reply	other threads:[~2014-06-17 14:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-01  9:21 [RFC] rtmutex: Do not boost fair tasks each other Kirill Tkhai
2014-05-03 18:54 ` Thomas Gleixner
2014-05-04  7:17   ` Peter Zijlstra
2014-05-04 12:13     ` Thomas Gleixner
2014-05-05 18:31   ` Kirill Tkhai
2014-05-28 20:26     ` Thomas Gleixner
2014-05-29 20:52       ` Kirill Tkhai
2014-06-17 14:19         ` Kirill Tkhai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4717441403014772@web18g.yandex.ru \
    --to=tkhai@yandex.ru \
    --cc=bigeasy@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=paul.gortmaker@windriver.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --cc=umgwanakikbuti@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox