From: Peter Zijlstra <peterz@infradead.org>
To: Stephane Eranian <eranian@google.com>
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu
Subject: Re: [PATCH] perf_event: fix loss of notification with multi-event sampling
Date: Wed, 23 Nov 2011 11:06:07 +0100 [thread overview]
Message-ID: <1322042767.14799.25.camel@twins> (raw)
In-Reply-To: <CABPqkBTWqPNhMBEsLmto+3=2FYjyy_b2hzq2KLbKWDFSKNktsg@mail.gmail.com>
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?
next prev parent reply other threads:[~2011-11-23 10:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 14:53 [PATCH] perf_event: fix loss of notification with multi-event sampling Stephane Eranian
2011-11-22 10:40 ` Peter Zijlstra
2011-11-22 13:15 ` Stephane Eranian
2011-11-22 13:29 ` Peter Zijlstra
2011-11-22 14:13 ` Stephane Eranian
2011-11-22 14:28 ` Stephane Eranian
2011-11-22 21:15 ` Peter Zijlstra
2011-11-23 9:30 ` Stephane Eranian
2011-11-23 10:06 ` Peter Zijlstra [this message]
2011-11-23 10:10 ` Stephane Eranian
2011-11-23 10:36 ` Peter Zijlstra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1322042767.14799.25.camel@twins \
--to=peterz@infradead.org \
--cc=eranian@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox