Re: [PATCH] lockdep: Quiet gcc about dangerous __builtin_return_address() operations

From: Steven Rostedt
Date: Thu Sep 15 2016 - 11:17:38 EST


On Thu, 15 Sep 2016 16:08:10 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Thu, Sep 15, 2016 at 09:54:50AM -0400, Steven Rostedt wrote:
> >
> > Peter,
> >
> > Can you pull this patch in? It probably should go to stable as well.
>
> I'm not sure how this relates to lockdep, which is why I mostly ignored
> the patch.

It's basically about get_lock_parent_ip() which is used for backtraces
of locks, and thus for debugging locks, so I really didn't know what to
label it as. Should the subject then just be:

lock stack traces: ...

??

-- Steve