Re: [PATCH 0/7] Uprobes: Support SDT markers having reference count (semaphore)

From: Oleg Nesterov
Date: Fri Jun 08 2018 - 12:36:13 EST


I am travelling till the end of the next week, can't read this version
until I return. Just one question,

On 06/06, Ravi Bangoria wrote:
> 1. One of the major reason was the deadlock between uprobe_lock and
> mm->mmap inside trace_uprobe_mmap(). That deadlock was not easy to fix

Could you remind what exactly was wrong?

I can't find your previous email about this problem, but iirc you didn't
explain the deadlock in details, just copied some traces from lockdep...