Re: [PATCH 1/1] eventfd: implementation of EFD_MASK flag

From: Andrew Morton
Date: Thu Feb 07 2013 - 17:44:40 EST


On Thu, 7 Feb 2013 07:41:32 +0100
Martin Sustrik <sustrik@xxxxxxxxxx> wrote:

> When implementing network protocols in user space, one has to implement
> fake user-space file descriptors to represent the sockets for the protocol.
>
> While all the BSD socket API functionality for such descriptors may be faked as
> well (myproto_send(), myproto_recv() etc.) this approach doesn't work for
> polling (select, poll, epoll). For polling, real system-level file descriptor
> is needed.

That's a nice changelog but it omitted a critical thing: why do you
think the kernel needs this feature? What's the value and use case for
being able to poll these descriptors?

So please update the changelog and then cc netdev@xxxxxxxxxxxxxxx on
the patch - the netdev people are probably best-situated to comment on
the proposal.

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