by ensiferum · 9y ago · 0 comments
Can someone clarify what this tries to say. Thanks.
So that - when an event on a socket happens, the kernel instantly knows which processes to wake up. A reverse lookup: given socket, return list of blocking processes.
I'm arguing that maintaining this reverse lookup is a hard work, especially when you need to set it up it and tear it down on every call to select().
If that's a large number of fds, then that's quite some overhead.