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

From: Alexander Shishkin
Date: Tue Aug 09 2016 - 01:18:41 EST


Vince Weaver <vincent.weaver@xxxxxxxxx> writes:

> Hello
>
> running the perf_fuzzer on Haswell, this is a new warning I don't think
> I've seen before.
>
> It works out to be this code here:
>
> /* this has to be the last one */
> rb_free_aux(rb);
> WARN_ON_ONCE(atomic_read(&rb->aux_refcount));
>
> mutex_unlock(&event->mmap_mutex);

Awesome, I'll have a look. Can you tell it it was messing around with
intel_bts driver from the fuzzer log?

Thanks,
--
Alex