Re:Two new ways to read a file quickly
by JoshTriplett on Saturday March 07, 2020 @03:15AM
(#22510512)
> 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.
In the case of uring I suppose it is possible to link the calls to fail at the first failure.