Re: perf: WARNING: kernel/events/core.c:4893 perf_mmap_close

From: Alexander Shishkin
Date: Tue Aug 23 2016 - 13:09:19 EST


Will Deacon <will.deacon@xxxxxxx> writes:

> Hi Alexander,
>
> On Fri, Aug 12, 2016 at 08:54:49PM +0300, Alexander Shishkin wrote:
>> Yes, I tracked to a race between unmapping and set_output, trying to
>> come up with a good fix now.
>
> Did you get anywhere with this? I think I just hit the same issue with
> the intel-pt driver on my broadwell laptop with -rc3+PREEMPT (dump
> below) and I'm more than happy to test a fix.

Yes, I posted a patchset [1] this morning that should fix this; if this
is PT, 3/3 should suffice.

What's "pt-poker", btw? :)

[1] http://marc.info/?l=linux-kernel&m=147194269031047

Regards,
--
Alex