Messages in this thread | | | Date | Mon, 22 Jun 2009 12:29:48 -0700 (PDT) | From | Davide Libenzi <> | Subject | Re: [PATCH 3/3] eventfd: add internal reference counting to fix notifier race conditions |
| |
On Mon, 22 Jun 2009, Gregory Haskins wrote:
> Michael S. Tsirkin wrote: > > On Mon, Jun 22, 2009 at 11:51:42AM -0700, Davide Libenzi wrote: > > > >> A file* based kernel-to-kernel interface is rather wrong IMO. > >> > > > > But eventfd_ctx should work fine. > > > > Yeah, and I guess we can always just say that qemu can't close the fd or > something. Seems hacky, but it might work if Davide insists we need his > change.
Continuing here, since there's no reason of having many subthreads talking about the same thing. Can you make a detailed example of what you're trying to achieve (no Hint Mode, please)? As it sounds to me, that you need a consumer/producer reference counting, to cover your scenario correctly.
- Davide
| |