lkml.org 
[lkml]   [2011]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Can you please take a look at bug39852?
(cc'ing Jens and LKML)

On Sat, Jul 30, 2011 at 02:38:26PM +0200, Peter Osterlund wrote:
> On Sat, 30 Jul 2011, Tejun Heo wrote:
>
> >It looks like spurious lockdep warning via pkt_open(). Seems like the
> >problem has been there since the beginning. What do you think?
> >
> > https://bugzilla.kernel.org/show_bug.cgi?id=39852
>
> Yes, it is a spurious warning that has been there since the
> beginning. There were patches to silence the warning back in 2006
>
> https://lkml.org/lkml/2006/7/25/41
>
> but they were considered not the right approach. I don't know what
> the right approach is.

I see. I think the proper solution would be adding a variant of
blkdev_get(), say blkdev_get_nested(), to give the inner open a
different locking class. Jens, what do you think?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2011-07-30 14:57    [W:0.035 / U:1.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site