Re: [syzbot] possible deadlock in vm_mmap_pgoff
From: Peter Zijlstra
Date: Mon May 03 2021 - 11:55:36 EST
On Wed, Apr 28, 2021 at 09:30:18AM -0400, Steven Rostedt wrote:
> > Break the lock chain by asking kworker to destroy perf event.
> > Thoughts other than workqueue are appreciated.
>
> I think this could cause a problem with the delay.
>
> This is called from event->destroy()
>
>
> if (event->destroy)
> event->destroy(event);
> module_put(pmu->module);
The uprobe and tracepoint pmus will never be a module.