Re: [PATCH RFC] pass write value to in_range pointers

Avi Kivity
2009-06-23T11:55:29Z

On 06/23/2009 02:44 PM, Michael S. Tsirkin wrote:
> On Tue, Jun 23, 2009 at 12:04:06AM -0400, Gregory Haskins wrote:
>
>>>> It will also need to support
>>>> multiple matches.
>>>>
>>>>
>>> What, signal many fds on the same address/value pair?
>>> I see this as a bug. Why is this a good thing to support?
>>> Just increases the chance of leaking this fd.
>>>
>>>
>> I believe Avi asked for this feature specifically, so I will defer to him.
>>
>
> Hmm. That's hard to implement in my model. Avi, can we give up
> this feature? I don't think anyone needs this specifically ...
>

I think we can make do with passing that single eventfd to multiple
consumers. It means their event count reads may return zero, but I
guess we can live with that.

I do want to retain flexibility in how we route events.

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