lkml.org 
[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer dereference at 000001f2
On Tue, Oct 3, 2017 at 9:54 AM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> Can we consider just reverting the crossrelease thing?
>
> The apparent stack corruption really worries me [...]

Side note: I also think the thing is just broken.

Any actual cross-releaser should be way more annotated than just "set
cross to 1" in the lockdep map.

The place where the release is done should simply be special.

Because we should *not* encourage the whole "acquire by one context,
release by another" as being something normal and "just set the flag
to let lockdep know".

So that commit is apparently buggy, but I think it might be more
fundamentally the wrong model too.

Linus

\
 
 \ /
  Last update: 2017-10-03 18:57    [W:0.136 / U:2.216 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site