On 09/30/2014 01:23 PM, Peter Zijlstra wrote: > How about this then? > > --- > Subject: perf: Fix unclone_ctx() vs locking > > The idiot who did 4a1c0f262f88 forgot to pay attention and fix all > similar cases. Do so now. > > In particular, unclone_ctx() must be called while holding ctx->lock, > therefore all such sites are broken for the same reason. Pull the > put_ctx() call out from under ctx->lock. > > Reported-by: Sasha Levin <sasha.le...@oracle.com> > Fixes: 4a1c0f262f88 ("perf: Fix lockdep warning on process exit") > Signed-off-by: Peter Zijlstra (Intel) <pet...@infradead.org>
Looks good! The issue didn't reproduce anymore. Thanks, Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/