Re:Implement mechanism to wait on any of several futexes
by solipsism on Thursday August 01, 2019 @01:00AM
(#20581175)
Curious, how would a cache fix the fd leak issue?
[ Parent
| on HN ]
Re:Implement mechanism to wait on any of several futexes
by badamp on Thursday August 01, 2019 @12:27PM
(#20585400)
Perhaps a better term would be “pool”. Anyway, what’s being leaked is “handles” or events not actually fds. You only actually need as many fds as the maximum possible number passed to a syscall. The mapping of handles/event objects in user space does not have to be 1:1 with the kernel resource.