Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623090

Re: [PATCH 2/3] rtmutex: deboost priority conditionally when rt-mutex unlock

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] rtmutex: deboost priority conditionally when rt-mutex unlock
Date 2017-04-13 16:50 +0200
Message-ID <tvOem-4jh-7@gated-at.bofh.it> (permalink)
References <tvNBD-43N-3@gated-at.bofh.it> <tvNBD-43N-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 13, 2017 at 10:02:53PM +0800, Alex Shi wrote:
>  	/*
> +	 * 'current' release this lock, so 'current' should be a higher prio
> +	 * task than the next top waiter, unless the current prio was gotten
> +	 * from this top waiter, iff so, we need to deboost 'current' after
> +	 * the lock release.
> +	 */
> +	if (current->prio == waiter->prio)
> +		deboost = true;

This is wrong.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/3] rtmutex: deboost priority conditionally when rt-mutex unlock Alex Shi <alex.shi@linaro.org> - 2017-04-13 16:10 +0200
  Re: [PATCH 2/3] rtmutex: deboost priority conditionally when  rt-mutex unlock Sebastian Siewior <bigeasy@linutronix.de> - 2017-04-13 16:30 +0200
  Re: [PATCH 2/3] rtmutex: deboost priority conditionally when  rt-mutex unlock Peter Zijlstra <peterz@infradead.org> - 2017-04-13 16:50 +0200
    Re: [PATCH 2/3] rtmutex: deboost priority conditionally when  rt-mutex unlock Steven Rostedt <rostedt@goodmis.org> - 2017-04-13 18:20 +0200
      Re: [PATCH 2/3] rtmutex: deboost priority conditionally when  rt-mutex unlock Peter Zijlstra <peterz@infradead.org> - 2017-04-13 18:30 +0200
        Re: [PATCH 2/3] rtmutex: deboost priority conditionally when  rt-mutex unlock Steven Rostedt <rostedt@goodmis.org> - 2017-04-13 18:50 +0200
          Re: [PATCH 2/3] rtmutex: deboost priority conditionally when  rt-mutex unlock Peter Zijlstra <peterz@infradead.org> - 2017-04-13 19:00 +0200

csiph-web