lkml.org 
[lkml]   [2016]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next: zillions of lockdep whinges in include/net/sock.h:1408
From
Date
On Sun, 24 Apr 2016 12:46:42 -0700, Eric Dumazet said:

> >>> + return !debug_locks ||
> >>> + lockdep_is_held(&sk->sk_lock) ||

> Issue here is that once lockdep detected a problem (not necessarily in
> net/ tree btw), your helper always 'detect' a problem, since lockdep
> automatically disables itself.

"D'Oh!" -- H. Simpson

I thought this patch looked suspect, but couldn't put my finger on it. The
reason why I got like 41,000 of them is because I built a kernel that has
lockdep enabled, but I have an out-of-tree module that doesn't init something,
so I get this:

[ 48.898156] INFO: trying to register non-static key.
[ 48.898157] the code is fine but needs lockdep annotation.
[ 48.898157] turning off the locking correctness validator.

After which point, even with this patch, every time through it's still going to
explode.


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-04-24 22:01    [W:0.041 / U:2.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site