Hacker News new | ask | show | jobs
by JoshTriplett 2300 days ago
> What will happen though, if the fd is already used by some other area of userspace?

That's what the min_fd patch is for, and potentially other systems for reserving blocks of fds. Much like memory, you'll ask the kernel for a block of it and then do your own allocations out of that.

1 comments

Ah, it will be possible to allocate multiple blocks of file descriptors? Ok, then things start to make sense.