Re: out-of-tree module shouldn't disable lockdep

From: Tejun Heo
Date: Thu Dec 22 2011 - 12:07:30 EST


On Thu, Dec 22, 2011 at 08:59:52AM -0800, Tejun Heo wrote:
> Hello, guys.
>
> 2449b8ba074 "module,bug: Add TAINT_OOT_MODULE flag for modules not
> built in-tree" added TAINT_OOT_MODULE to mark kernel which has
> out-of-tree module loaded, which might be a good idea but an
> unfortunate side effect of tainting is that it disables lockdep. So,
> now, none of my test modules is watched by lockdep. This is a bad bad
> idea. People use oot modules to write test code and disabling lockdep
> for test codes is silly. Can we please fix this?

Ingo just told me it's already fixed and scheduled for upstream, so
please forget about this thread.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/