On Wed, Jul 05, 2017 at 08:09:49AM -0700, James Bottomley wrote: > On Wed, 2017-07-05 at 10:56 -0400, Steven Rostedt wrote: > > James Bottomley wrote: > > > you're protecting was accessed outside the lock, which is the usual > > > source of concurrency problems.  In other words lockdep is useful > > > but it's not a panacea. > > Still not an excuse to not have lockdep enabled during tests. > OK, what makes you think lockdep isn't enabled?  Since Kconfig is so > complex, I usually use a distro config ... they have it enabled (or at > least openSUSE does), so it's enabled for everything I do. Yeah, I see enough reports with it in embedded contexts to make me think people use it there. I know I tend to have it turned on most of the time. The concurrency stuff I'm thinking of here is more the things you're mentioning with just not taking locks at all when they are needed or concurrency with hardware.