lkml.org 
[lkml]   [2010]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Weird rcu lockdep warning
From
From: Frederic Weisbecker <fweisbec@gmail.com>
Date: Wed, 14 Apr 2010 02:02:27 +0200

> I just have a guess though....
> This seems to always happen from NMI path, and lockdep is disabled on NMI.
> I suspect the lock_acquire() performed by rcu_read_lock() is just ignored
> and then the rcu_read_lock_held() check has the wrong result...

Yeah, I bet that's it too.

lock_is_held() can't return anything meaningful while lockdep is
disabled, which it is during NMIs.


\
 
 \ /
  Last update: 2010-04-14 02:15    [W:0.088 / U:1.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site