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

From: Avi Kivity
Date: Tue Jun 23 2009 - 07:55:59 EST


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

--
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/