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

From: Martin Sustrik
Date: Sat Feb 09 2013 - 07:04:40 EST

On 2013-02-09 12:51, Eric Wong wrote:

Yes, your eventfd change is probably the best way if you want/need
to only watch a subset of your sockets, especially if you want
poll/select to be an option.

Yes, the poll/select thing is the important point.

I wouldn't care if the only problem was that I, as the protocol implementer, would have to implement some kind of workaround in my protocol library. The problem is that these convoluted semantics leak -- through the use of poll, select et al. -- to the end user.

From my personal experience I can say that end users have pretty hard time using such complex workarounds instead of simply using a native file descriptor with standardised semantics.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at