lkml.org 
[lkml]   [2011]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:core/locking] lockdep, rtmutex, bug: Show taint flags on error
On Tue, Dec 06, 2011 at 08:14:58PM +0100, Ingo Molnar wrote:
>
> Anyway, SOB flaming aside, i think there's now consensus that we
> don't want to disable lockdep for TAINT_OOT modules.

OK, glad we could work this out.

> Mind (re-)sending a delta patch against tip:master that excludes
> that taint flag in addition to the already excluded
> TAINT_FIRMWARE case? That should close this rather verbose
> chapter of taint flag handling changes for good ;-)

I originally assumed that lock debugging was being disabled on a
tainted kernel in order to save kernel developers from having to
handle false lockdep errors that are due to external bugs. The
intent of my proposed change was to achieve this same effect by
showing taint flags instead. Although the immediate motivation
for this was the new TAINT_OOT_MODULE, I don't see that it is
important for any taint flag to have this disabling effect now.

If you want to ensure that lock debugging is not available to
proprietary modules, I don't have a problem with that, although there
is no legal or practical way for us to stop proprietary module
developers evading this check and doing lock debugging in the privacy
of their offices.

So what I would like to do is either:

1. No longer disable lock debugging due to any taint
or
2. Disable lock debugging only when TAINT_PROPRIETARY_MODULE is set

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus


\
 
 \ /
  Last update: 2011-12-06 22:17    [W:0.064 / U:1.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site