RE: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

From: 박병철/선임연구원/SW Platform(연)AOT팀(byungchul.park@lge.com)
Date: Thu Oct 19 2017 - 05:02:36 EST


> -----Original Message-----
> From: Ingo Molnar [mailto:mingo.kernel.org@xxxxxxxxx] On Behalf Of Ingo
>
> > At the time, cross-release was falsely accused. AFAIK, cross-release has
> > not crashed system yet.
>
> I'm talking about the crash fixed here:
>
> 8b405d5c5d09: locking/lockdep: Fix stacktrace mess
>
> Which was introduced by your patch:
>
> ce07a9415f26: locking/lockdep: Make check_prev_add() able to handle
> external stack_trace
>
> ... which was a preparatory patch for cross-release. So 'technically' it's not a
> cross-release crash, but was very much related. It even says so in the changelog:
>
> Actually crossrelease needs to do other than saving a stack_trace.
> So pass a stack_trace and callback to handle it, to check_prev_add().
>
> ... so let's not pretend it wasn't related, ok?

I don't want to pretend I'm perfect. Of course, I can make mistakes.
I'm just saying that *I have not seen* any crash by cross-release.

In that case you pointed out, likewise, the crash was caused by ae813308f:
lockdep: Avoid creating redundant links, which is not related to the feature
actually. It was also falsely accused at the time again...

Of course, it's my fault not to have made the design more robust so that
others can modify lockdep code caring less after cross-release commit.
That's what I'm sorry for.

I already mentioned the above in the thread talking about the issue you
are pointing now. Of course, I basically appreciate all comments and
suggestions you have given, but you seem to have mis-understood some
issues wrt cross-release feature.

Thanks,
Byungchul