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


Groups > linux.kernel > #1693558 > unrolled thread

[GIT PULL] locking fix

Started byIngo Molnar <mingo@kernel.org>
First post2017-07-21 12:20 +0200
Last post2017-07-21 12:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] locking fix Ingo Molnar <mingo@kernel.org> - 2017-07-21 12:20 +0200

#1693558 — [GIT PULL] locking fix

FromIngo Molnar <mingo@kernel.org>
Date2017-07-21 12:20 +0200
Subject[GIT PULL] locking fix
Message-ID<u5Dcl-3yA-1@gated-at.bofh.it>
Linus,

Please pull the latest locking-urgent-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus

   # HEAD: 69f0d429c413fe96db2c187475cebcc6e3a8c7f5 locking/rtmutex: Remove unnecessary priority adjustment

Remove an unnecessary priority adjustment in the rtmutex code.

 Thanks,

	Ingo

------------------>
Alex Shi (1):
      locking/rtmutex: Remove unnecessary priority adjustment


 kernel/locking/rtmutex.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c
index 78069895032a..649dc9d3951a 100644
--- a/kernel/locking/rtmutex.c
+++ b/kernel/locking/rtmutex.c
@@ -963,7 +963,6 @@ static int task_blocks_on_rt_mutex(struct rt_mutex *lock,
 		return -EDEADLK;
 
 	raw_spin_lock(&task->pi_lock);
-	rt_mutex_adjust_prio(task);
 	waiter->task = task;
 	waiter->lock = lock;
 	waiter->prio = task->prio;

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web