Re: [perf] more perf_fuzzer memory corruption

From: Peter Zijlstra
Date: Fri May 02 2014 - 12:22:44 EST


On Fri, May 02, 2014 at 12:22:30PM -0400, Vince Weaver wrote:
>
> I'll try the patch next.
>
> Meanwhile, can polling on a closed event cause problems with the reference
> count?
>
> In my various failure traces there's always been a poll() active at the
> time of crash, and I added some trace_printk()s and it looks like poll is
> at least attempting to poll on the closed file descriptor that's causing
> us problems.

In principle the vfs file refcounting should be responsible for that.
But I'll go over it in a bit.

Attachment: pgpX7w92Fh18Z.pgp
Description: PGP signature