Messages in this thread | | | Date | Wed, 01 Oct 2014 07:16:11 -0400 | From | Sasha Levin <> | Subject | Re: perf: perf_fuzzer triggers instant reboot |
| |
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.levin@oracle.com> > Fixes: 4a1c0f262f88 ("perf: Fix lockdep warning on process exit") > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Looks good! The issue didn't reproduce anymore.
Thanks, Sasha
| |