Re: [KVM-RFC PATCH 1/2] eventfd: add an explicit srcu based notifier interface

Avi Kivity
2009-06-18T09:03:42Z

On 06/16/2009 05:40 PM, Gregory Haskins wrote:
>
> Something else to consider: For iosignalfd, we can assume we will
> always be called from vcpu process context so we might not really need
> official affirmation from the system. For irqfd, we cannot predict who
> may be injecting the interrupt (for instance, it might be a
> PCI-passthrough hard-irq context). I am not sure if this knowledge
> actually helps to simplify the problem space, but I thought I should
> mention it.
>

We can't assume anything. Userspace might hand out that eventfd to anyone.

--
error compiling committee.c: too many arguments to function