[lkml]   [2012]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: rcu: BUG: spinlock recursion on CPU#3, trinity-child19/5970
On Fri, 2012-06-29 at 23:40 +0200, Sasha Levin wrote:
> The bad news are that what you saw was a lockdep enabled run
> (CONFIG_PROVE_RCU is enabled, and lockdep was enabled). There were no
> lockdep warnings at any point while reproducing it.

rcu_switch_from() -> rcu_preempt_note_context_switch() is called _after_
the lockdep context switch annotation. Therefore lockdep things the prev
task isn't holding any locks anymore.

 \ /
  Last update: 2012-07-02 13:02    [W:0.083 / U:0.824 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site