From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH 1/1] eventfd: implementation of EFD_MASK flag Date: Thu, 7 Feb 2013 14:44:33 -0800 Message-ID: <20130207144433.527ef024.akpm@linux-foundation.org> References: <1360219292-19754-1-git-send-email-sustrik@250bpm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Alexander Viro , Sha Zhengju , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Martin Sustrik Return-path: In-Reply-To: <1360219292-19754-1-git-send-email-sustrik@250bpm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, 7 Feb 2013 07:41:32 +0100 Martin Sustrik 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@vger.kernel.org on the patch - the netdev people are probably best-situated to comment on the proposal.