Re: [PATCH] perf_event: fix loss of notification with multi-eventsampling

From: Peter Zijlstra
Date: Wed Nov 23 2011 - 05:06:13 EST


On Wed, 2011-11-23 at 10:30 +0100, Stephane Eranian wrote:
>
> In the case of perf_event, we are not in a producer-consumer model, so
> it seems like the behavior we have now is correct. The caller of poll()
> gets stuck if the file descriptor is closed.

But wouldn't out event->waitq still be referenced by that waiting task?
Even though we freed it in our fops->release() callback?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/