[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1185124958.2573.13.camel@imap.mvista.com>
Date: Sun, 22 Jul 2007 10:22:37 -0700
From: Daniel Walker <dwalker@...sta.com>
To: mingo@...e.hu
Cc: linux-kernel@...r.kernel.org, linux-rt-users@...r.kernel.org
Subject: [PATCH -rt] drop spurious rcu unlock
Strange rcu_read_unlock() which causes a imbalance, and boot hang.. I
didn't notice a reason for it, and removing it allows my system to make
progress.
This should go into the preempt-realtime-sched.patch
Signed-Off-By: Daniel Walker <dwalker@...sta.com>
Index: linux-2.6.22.1/kernel/sched.c
===================================================================
--- linux-2.6.22.1.orig/kernel/sched.c 2007-07-22 16:47:37.000000000 +0000
+++ linux-2.6.22.1/kernel/sched.c 2007-07-22 16:16:48.000000000 +0000
@@ -4900,7 +4900,6 @@ asmlinkage long sys_sched_yield(void)
* no need to preempt or enable interrupts:
*/
spin_unlock_no_resched(&rq->lock);
- rcu_read_unlock();
__schedule();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists